mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 19:11:08 +00:00
* fix: the store sign-in page keeps its place when the display density changes StoreLoginActivity sized its toolbar and error panel in code with dp(), so it was left out of the density change and a fold between two displays of different density still recreated it and reloaded the sign-in page. Handle density in the manifest and apply the dp sizes again in onConfigurationChanged. Checked on the foldable emulator with the GOG sign-in open: wm density 420 -> 560 -> 320 does not relaunch the activity, the page stays, and the top bar follows the new density. * fix: re-apply the sign-in text sizes together with the other dp sizes The title (16sp) and error text (15sp) were set in sp at creation, so after a density change they kept the old scale. Set them again in onConfigurationChanged. --------- Co-authored-by: ovurrsl <ovurrsl@users.noreply.github.com>