Fix switch theme issue, and white field issue (#2599, #2528)

Remove some workarounds. I cannot reproduce the bug of signout which does not destroy the HomeActivityViewModel...
This commit is contained in:
Benoit Marty 2020-12-29 12:20:24 +01:00 committed by Benoit Marty
parent 54f6440bcf
commit e21c8792e6
3 changed files with 3 additions and 4 deletions

View File

@ -16,6 +16,8 @@ Bugfix 🐛:
- Hiding membership events works the exact opposite (#2603)
- Tapping drawer having more than 1 room in notifications gives "malformed link" error (#2605)
- Initial sync is not retried correctly when there is some network error. (#2632)
- Fix switch theme issue, and white field issue (#2599, #2528)
Translations 🗣:
-

View File

@ -82,8 +82,7 @@
</activity-alias>
<activity
android:name=".features.home.HomeActivity"
android:launchMode="singleTask" />
android:name=".features.home.HomeActivity" />
<activity
android:name=".features.login.LoginActivity"
android:launchMode="singleTask"

View File

@ -79,8 +79,6 @@ class MainActivity : VectorBaseActivity<FragmentLoadingBinding>(), UnlockedActiv
intent.putExtra(EXTRA_ARGS, args)
activity.startActivity(intent)
// Ensure all the Activities are destroyed, it seems that the intent flags are not enough now.
activity.finishAffinity()
}
}