1
0
Fork 0

No issue - Use ViewLifecycleOwner lifecycleScope for Bookmark deletion scope

master
ekager 2020-05-07 08:55:07 -07:00 committed by Jeff Boek
parent 02f6e6868e
commit 138d8e647d
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ class BookmarkFragment : LibraryPageFragment<BookmarkNode>(), UserInteractionHan
pendingBookmarkDeletionJob = getDeleteOperation(Event.RemoveBookmarkFolder)
dialog.dismiss()
val message = getDeleteDialogString(selected)
lifecycleScope.allowUndo(
viewLifecycleOwner.lifecycleScope.allowUndo(
requireView(),
message,
getString(R.string.bookmark_undo_deletion),