Morpho icon indicating copy to clipboard operation
Morpho copied to clipboard

Wellness features

Open fklr opened this issue 1 year ago • 4 comments

Toggle to hide engagement metrics

fklr avatar Feb 24 '24 18:02 fklr

Neat idea. Wouldn't be hard to implement.

orual avatar Feb 24 '24 18:02 orual

Neat idea. Wouldn't be hard to implement.

It's a nice feature that Tusky has. Will take a look at their implementation.

ghost avatar Feb 24 '24 18:02 ghost

The easy way is to just have a conditional display on the element based on the user pref value. I had this working for content hiding based on mod prefs/muting, but iirc it's stubbed out currently. There was a performance impact because how I was doing it was interacting badly with Compose's refresh/layout loop.

orual avatar Feb 24 '24 18:02 orual

https://github.com/morpho-app/Morpho/blob/main/app/src/main/java/com/morpho/app/ui/post/FullPostFragment.kt

I deleted it in the normal PostFragment at some point when I was trying to fix stuff being slow, but it's in the FullPostFragment code still.

orual avatar Feb 24 '24 18:02 orual