1
0
Fork 0

For #8899: Set viable anchor for snackbars in both custom and normal tab

master
mcarare 2020-03-03 17:31:28 +02:00 committed by Emily Kager
parent 8871c05c9d
commit 14338a3b13
1 changed files with 4 additions and 1 deletions

View File

@ -102,7 +102,10 @@ class BrowserToolbarView(
clipboard.text = selectedSession?.url
}
FenixSnackbar.make(view, Snackbar.LENGTH_SHORT)
FenixSnackbar.makeWithToolbarPadding(
view.rootView.findViewById(android.R.id.content),
Snackbar.LENGTH_SHORT
)
.setText(view.context.getString(R.string.browser_toolbar_url_copied_to_clipboard_snackbar))
.show()
}