For #561: Fix stutter of search icon & text when animating
parent
75a25c9bd0
commit
b6e6e36ccd
|
@ -239,10 +239,6 @@ class HomeFragment : Fragment() {
|
|||
}
|
||||
}
|
||||
|
||||
view.wordmark.setOnClickListener {
|
||||
showSavedSnackbar(2)
|
||||
}
|
||||
|
||||
view.menuButton.setOnClickListener {
|
||||
homeMenu?.menuBuilder?.build(requireContext())?.show(
|
||||
anchor = it,
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue