v1tzor / TimePlanner

Mobile app for planning tasks for the day with multimodule architecture, MVI, Compose, Room, Voyager, AlarmManager, Notification, Charts
Apache License 2.0
429 stars 48 forks source link

AlertDialog disappears on orientation change #113

Closed nicolarevelant closed 15 minutes ago

nicolarevelant commented 1 month ago

Problem: when I perform this sequence of events the AlertDialog disappears:

  1. Open categories screen from the drawer
  2. Select a category
  3. Touch "Add+"
  4. Rotate the device twice

Possible solution:

/features/home/impl/src/main/java/ru/aleshin/features/home/impl/presentation/ui/categories/CategoriesScreen.kt:55 use rememberSaveable instead of remember

Screenshots:

Version:

0.9.0 (29)