saulhdev / ZimLX

Open Source and free launcher for Android
Other
151 stars 26 forks source link

Bugfix: Minibar switch-off not working after app restart #79

Closed damoasda closed 4 years ago

damoasda commented 4 years ago

Currently, the setting ZimFlags.MINIBAR_ENABLE is not read at app startup, so if the Minibar is disabled it is still available after app restart.

Steps to reproduce:

  1. Go to settings → Desktop → Minibar
  2. Switch off the minibar
  3. Restart the app (or the phone)
  4. The Minibar can still be opened by swipe (bug),
    after the bugfix the Minibar cannot be opened any more

To fix the bug I added two lines in Launcher.onCreate() to set the lock mode of the drawer.