1
0
Fork 0

Closes #3701 - When deleted use bookmark title if url is null in snackbar (#3716)

master
Emily Kager 2019-06-27 11:39:00 -07:00 committed by Colin Lee
parent 13df8d7ddd
commit c9962a7ad0
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ class BookmarkFragment : Fragment(), BackHandler, AccountObserver {
view!!,
getString(
R.string.bookmark_deletion_snackbar_message,
bookmarkNode.url?.urlToTrimmedHost(context!!)
bookmarkNode.url?.urlToTrimmedHost(context!!) ?: bookmarkNode.title
),
getString(R.string.bookmark_undo_deletion),
onCancel = {