From 750ee266b0f1227ac8d84758f5b2cabb076ee4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?So=CC=88ren=20Hentzschel?= Date: Wed, 24 Apr 2019 22:21:26 +0200 Subject: [PATCH] For #2825: use FenixSnackbar for fullscreen notification --- app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt b/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt index b6fc1cfb1b..34388598f9 100644 --- a/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt @@ -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