2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Add toolbar padding for bookmark snackbar

This commit is contained in:
ekager 2020-03-24 13:08:37 -07:00 committed by liuche
parent fb227c15c3
commit 5ec37e0c57

View File

@ -753,7 +753,7 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
requireComponents.analytics.metrics.track(Event.AddBookmark)
view?.let { view ->
FenixSnackbar.make(view, FenixSnackbar.LENGTH_LONG)
FenixSnackbar.makeWithToolbarPadding(view, FenixSnackbar.LENGTH_LONG)
.setText(getString(R.string.bookmark_saved_snackbar))
.setAction(getString(R.string.edit_bookmark_snackbar_action)) {
nav(