1
0
Fork 0

For #561: Fix stutter of search icon & text when animating

master
Sawyer Blatz 2019-09-25 08:44:03 -07:00
parent 75a25c9bd0
commit b6e6e36ccd
3 changed files with 3 additions and 7 deletions

View File

@ -239,10 +239,6 @@ class HomeFragment : Fragment() {
}
}
view.wordmark.setOnClickListener {
showSavedSnackbar(2)
}
view.menuButton.setOnClickListener {
homeMenu?.menuBuilder?.build(requireContext())?.show(
anchor = it,

View File

@ -25,7 +25,7 @@ internal const val UNDO_DELAY = 3000L
* @param undoActionTitle Label for the action associated with the [FenixSnackbar].
* @param onCancel A suspend block to execute in case of cancellation.
* @param operation A suspend block to execute if user doesn't cancel via the displayed [FenixSnackbar].
* @param anchorView A view to anchor the undo [FenixSnackbar] to
* @param anchorView A [View] to which [FenixSnackbar] should be anchored.
*/
@Suppress("LongParameterList")
fun CoroutineScope.allowUndo(

View File

@ -91,7 +91,7 @@
android:id="@+id/search_engine_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="8dp"
android:layout_marginStart="12dp"
android:layout_gravity="center_vertical"
android:clickable="false"
android:focusable="false"
@ -102,7 +102,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="40dp"
android:layout_marginStart="44dp"
android:clickable="false"
android:focusable="false"
android:importantForAccessibility="no"