Open JonasMayerDev opened 9 months ago
When user tap details from image preview it navigates to file display activity then open media list again. Basically due misused navigation we are having this problem.
FileDisplayActivity -> Open Drawer -> Media -> Select Image -> Three Dots From Top Right -> Details -> Press Back -> start FileDisplayActivity again ...
Instead
We can just popback rather than push and start activity again.
I discussed with @tobiasKaminsky we want to solve problem right way rather than workaround fix. Navigation stack should be fixed via Jetpack Navigation library. Related issue
⚠️ Before posting ⚠️
Steps to reproduce
Expected behaviour
After exiting the detail/ image view the media tab should behave like always
Actual behaviour
The media tab has the all files layout and crashes when interacted with e.g. "+"-Button. The menu also displays "all files" as selected but media tab is still open.
Android version
12
Device brand and model
OnePlus Nord 2
Stock or custom OS?
Stock
Nextcloud android app version
3.26.0 (and current master)
Nextcloud server version
27.1.3.2
Using a reverse proxy?
I don't know
Android logs
Cause of error
App information
com.nextcloud.client
30260090
gplay
Device information
OnePlus
OP515BL1
DN2103
SP1A.210812.016
DN2103EEA
Firmware
31
12
R.GDPR.202210192216
Server error logs
No response
Additional information
Log from crash when clicking on "+"-Button