Commit 5e4ef202 authored by mcarare's avatar mcarare Committed by Emily Kager
Browse files

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

parent 1f250a73
......@@ -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()
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment