diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt index cac1b850c3..ee44251a10 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourceController.kt @@ -394,13 +394,13 @@ open class BrowseSourceController(bundle: Bundle) : val actions = emptyList().toMutableList() if (presenter.source is LocalSource) { - actions += EmptyView.Action(R.string.local_source_help_guide, View.OnClickListener { openLocalSourceHelpGuide() }) + actions += EmptyView.Action(R.string.local_source_help_guide) { openLocalSourceHelpGuide() } } else { actions += EmptyView.Action(R.string.action_retry, retryAction) } if (presenter.source is HttpSource) { - actions += EmptyView.Action(R.string.action_open_in_web_view, View.OnClickListener { openInWebView() }) + actions += EmptyView.Action(R.string.action_open_in_web_view) { openInWebView() } } binding.emptyView.show(message, actions) diff --git a/app/src/main/res/color/tabs_selector_background.xml b/app/src/main/res/color/tabs_selector_background.xml new file mode 100644 index 0000000000..5444c2a708 --- /dev/null +++ b/app/src/main/res/color/tabs_selector_background.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/app/src/main/res/layout/common_tabbed_sheet.xml b/app/src/main/res/layout/common_tabbed_sheet.xml index b9cbde1d97..7ae7420523 100644 --- a/app/src/main/res/layout/common_tabbed_sheet.xml +++ b/app/src/main/res/layout/common_tabbed_sheet.xml @@ -21,6 +21,7 @@ app:layout_constraintEnd_toStartOf="@+id/menu" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" + app:tabTextColor="@color/tabs_selector_background" app:tabGravity="fill" app:tabMode="fixed" />