LucasGGamerM / moshidon

Better modification of the official Mastodon for Android app
https://LucasGGamerM.github.io/moshidon/
GNU General Public License v3.0
638 stars 30 forks source link

predictive back gesture #116

Open Mattis142 opened 1 year ago

Mattis142 commented 1 year ago

Can you please add this for future Android versions? I tried to add it earlier and do a pull request but I simply couldn't figure out how to avoid overwriting the custom back gesture actions within the app (since it's not using activities for every screen and letting the system handle everything)

LucasGGamerM commented 1 year ago

This is what I call speedrunning github issues

Mattis142 commented 1 year ago

This is what I call speedrunning github issues

yea but I believe the problem is your custom back actions won't work, i.e in the settings using the back gesture will send you to the Homescreen instead of to the timeline, or if you open a post and do the back gesture you'll be sent to the Homescreen again, at least that's the behavior I got trying to add this the same way

LucasGGamerM commented 1 year ago

Oh wait, I did an oopsie, it broke stuff

LucasGGamerM commented 1 year ago

This is what I call speedrunning github issues

yea but I believe the problem is your custom back actions won't work, i.e in the settings using the back gesture will send you to the Homescreen instead of to the timeline, or if you open a post and do the back gesture you'll be sent to the Homescreen again, at least that's the behavior I got trying to add this the same way

Its indeed not as simple as I have thought, it will take some time for me to implement this right

Mattis142 commented 1 year ago

yea, I thought at first this was my chance to create my first GitHub pull request ever but then I noticed that this is far more complicated than my knowledge of copy pasting allows