2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-07 15:20:38 +00:00

[fenix] No issue - Use ViewLifecycleOwner lifecycleScope for Bookmark deletion scope

This commit is contained in:
ekager 2020-05-07 08:55:07 -07:00 committed by Jeff Boek
parent faf0e35a96
commit 7c562b4554

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),