2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

For #2825: use FenixSnackbar for fullscreen notification

This commit is contained in:
Sören Hentzschel 2019-04-24 22:21:26 +02:00 committed by Colin Lee
parent eadce68e52
commit 750ee266b0

View File

@ -244,7 +244,8 @@ class BrowserFragment : Fragment(), BackHandler, CoroutineScope {
sessionId
) {
if (it) {
Snackbar.make(view.rootView, getString(R.string.full_screen_notification), Snackbar.LENGTH_LONG)
FenixSnackbar.make(view.rootView, Snackbar.LENGTH_LONG)
.setText(getString(R.string.full_screen_notification))
.show()
activity?.enterToImmersiveMode()
toolbar.visibility = View.GONE