Closed sunkup closed 1 week ago
Might be because LoginScreen is dropped and complete re-compose happens when the screen is rotated, and it calls:
LoginScreen
LaunchedEffect(initialLoginInfo) { model.initialize(initialLoginInfo) }
which initializes the login data from initialLoginInfo. However the initialLoginInfo should probably only be taken into account at the very first time, ideally from the Activity (that provides the initial login info).
initialLoginInfo
Originally posted by @rfc2822 in https://github.com/bitfireAT/davx5-ose/pull/772#pullrequestreview-2035397106
Might be because
LoginScreen
is dropped and complete re-compose happens when the screen is rotated, and it calls:which initializes the login data from
initialLoginInfo
. However theinitialLoginInfo
should probably only be taken into account at the very first time, ideally from the Activity (that provides the initial login info).Originally posted by @rfc2822 in https://github.com/bitfireAT/davx5-ose/pull/772#pullrequestreview-2035397106