diff --git a/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayView.kt b/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayView.kt index ef1ef8a98..6fe097bb9 100644 --- a/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayView.kt +++ b/app/src/main/java/org/mozilla/fenix/tabtray/TabTrayView.kt @@ -262,14 +262,9 @@ class TabTrayView( concatAdapter.addAdapter(syncedTabsController.adapter) } - // Disabling the following block of code because it causes a crash when - // accessibility services are enabled! `notifyDataSetChanged()` is incompatible - // with concatAdapter. See: https://github.com/mozilla-mobile/fenix/issues/14540 - // WARNING: Merging the upstream fix for this will cause lot of conflicts! - // - // if (hasAccessibilityEnabled) { - // tabsAdapter.notifyItemRangeChanged(0, tabs.size) - // } + if (hasAccessibilityEnabled) { + tabsAdapter.notifyItemRangeChanged(0, tabs.size) + } if (!hasLoaded) { hasLoaded = true diff --git a/app/src/main/res/drawable/ic_new.xml b/app/src/main/res/drawable/ic_new.xml index 57a1dbcd9..52f76c04b 100644 --- a/app/src/main/res/drawable/ic_new.xml +++ b/app/src/main/res/drawable/ic_new.xml @@ -8,6 +8,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/layout/component_tabs_screen_bottom.xml b/app/src/main/res/layout/component_tabs_screen_bottom.xml index 7c6234118..882a2d425 100644 --- a/app/src/main/res/layout/component_tabs_screen_bottom.xml +++ b/app/src/main/res/layout/component_tabs_screen_bottom.xml @@ -151,6 +151,7 @@ app:layout_constraintBottom_toBottomOf="@id/tab_layout" app:layout_constraintEnd_toStartOf="@id/tab_tray_overflow" app:layout_constraintTop_toTopOf="@id/tab_layout" + app:tint="@color/primary_text_normal_theme" app:srcCompat="@drawable/ic_new" />