1
0
Fork 0

For #8262: Set toolbar position relative anchor for collection snackbars

master
mcarare 3 years ago committed by Emily Kager
parent 1f250a730d
commit 5e4ef202b8
  1. 4
      app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt

@ -804,7 +804,7 @@ class HomeFragment : Fragment() {
}
FenixSnackbar.make(view, Snackbar.LENGTH_LONG)
.setText(view.context.getString(stringRes))
.setAnchorView(bottom_bar)
.setAnchorView(snackbarAnchorView)
.show()
}
}
@ -815,7 +815,7 @@ class HomeFragment : Fragment() {
val string = view.context.getString(R.string.snackbar_collection_renamed)
FenixSnackbar.make(view, Snackbar.LENGTH_LONG)
.setText(string)
.setAnchorView(bottom_bar)
.setAnchorView(snackbarAnchorView)
.show()
}
}

Loading…
Cancel
Save