ListHabitMenu is no longer a preferences listener

pull/498/head
thomas 6 years ago
parent 62dccbda49
commit 101eaf2ddf

@ -33,7 +33,7 @@ class ListHabitsMenu @Inject constructor(
private val preferences: Preferences,
private val themeSwitcher: ThemeSwitcher,
private val behavior: ListHabitsMenuBehavior
) : BaseMenu(activity), Preferences.Listener {
) : BaseMenu(activity){
override fun onCreate(menu: Menu) {
val nightModeItem = menu.findItem(R.id.actionToggleNightMode)

Loading…
Cancel
Save