1
0
Fork 0

For #3967 - Invoke pending deletion on back pressed

master
ekager 2019-08-23 11:24:59 -07:00 committed by Emily Kager
parent b07df9698a
commit ffbbe119f3
1 changed files with 4 additions and 1 deletions

View File

@ -234,7 +234,10 @@ class BookmarkFragment : LibraryPageFragment<BookmarkNode>(), BackHandler, Accou
nav(R.id.bookmarkFragment, directions)
}
override fun onBackPressed(): Boolean = bookmarkView.onBackPressed()
override fun onBackPressed(): Boolean {
invokePendingDeletion()
return bookmarkView.onBackPressed()
}
override fun onAuthenticated(account: OAuthAccount, newAccount: Boolean) {
bookmarkInteractor.onSignedIn()