|
|
@ -358,8 +358,9 @@ class BrowserFragment : Fragment(), BackHandler, CoroutineScope {
|
|
|
|
.addItem(BookmarkRoot.Mobile.id, session.url, session.title, null)
|
|
|
|
.addItem(BookmarkRoot.Mobile.id, session.url, session.title, null)
|
|
|
|
launch(Main) {
|
|
|
|
launch(Main) {
|
|
|
|
requireComponents.analytics.metrics.track(Event.AddBookmark)
|
|
|
|
requireComponents.analytics.metrics.track(Event.AddBookmark)
|
|
|
|
|
|
|
|
view?.let {
|
|
|
|
FenixSnackbar.make(
|
|
|
|
FenixSnackbar.make(
|
|
|
|
view!!,
|
|
|
|
it,
|
|
|
|
Snackbar.LENGTH_LONG
|
|
|
|
Snackbar.LENGTH_LONG
|
|
|
|
)
|
|
|
|
)
|
|
|
|
.setAction(getString(R.string.edit_bookmark_snackbar_action)) {
|
|
|
|
.setAction(getString(R.string.edit_bookmark_snackbar_action)) {
|
|
|
@ -376,6 +377,7 @@ class BrowserFragment : Fragment(), BackHandler, CoroutineScope {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
is QuickActionAction.ReadPressed -> {
|
|
|
|
is QuickActionAction.ReadPressed -> {
|
|
|
|
requireComponents.analytics.metrics.track(Event.QuickActionSheetReadTapped)
|
|
|
|
requireComponents.analytics.metrics.track(Event.QuickActionSheetReadTapped)
|
|
|
|
ItsNotBrokenSnack(context!!).showSnackbar(issueNumber = "908")
|
|
|
|
ItsNotBrokenSnack(context!!).showSnackbar(issueNumber = "908")
|
|
|
|