parent
9e0e5d95d9
commit
cd19f36b96
|
@ -271,7 +271,12 @@ class BookmarkFragment : Fragment(), CoroutineScope, BackHandler, AccountObserve
|
|||
refreshBookmarks()
|
||||
}
|
||||
}
|
||||
is BookmarkAction.SwitchMode -> activity?.invalidateOptionsMenu()
|
||||
is BookmarkAction.SwitchMode -> {
|
||||
if ((bookmarkComponent.uiView as BookmarkUIView).mode is BookmarkState.Mode.Normal) {
|
||||
getManagedEmitter<BookmarkChange>().onNext(BookmarkChange.ClearSelection)
|
||||
}
|
||||
activity?.invalidateOptionsMenu()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue