From 4bbbe284a5aa3f0658882469299c05d9c5b20213 Mon Sep 17 00:00:00 2001 From: Philip Simpson Date: Mon, 8 Aug 2022 21:39:45 +0930 Subject: [PATCH] Fix dark theme background color --- RELEASE-NOTES.md | 2 ++ .../com/shiftyjelly/pocketcasts/views/fragments/BaseFragment.kt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index ed0a8ee0367..917846bbf3b 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -5,6 +5,8 @@ * Bug Fixes: * Fix the mini player's play icon showing the wrong icon. ([#208](https://github.com/Automattic/pocket-casts-android/pull/208)). + * Fix dark theme background color. + ([#206](https://github.com/Automattic/pocket-casts-android/issues/206)). * Fix embedded artwork not showing on player screen. ([#16](https://github.com/Automattic/pocket-casts-android/issues/16)). * Fixes folder mapping at the time of folders full sync. diff --git a/modules/services/views/src/main/java/au/com/shiftyjelly/pocketcasts/views/fragments/BaseFragment.kt b/modules/services/views/src/main/java/au/com/shiftyjelly/pocketcasts/views/fragments/BaseFragment.kt index 953a8e75804..66b970297c3 100644 --- a/modules/services/views/src/main/java/au/com/shiftyjelly/pocketcasts/views/fragments/BaseFragment.kt +++ b/modules/services/views/src/main/java/au/com/shiftyjelly/pocketcasts/views/fragments/BaseFragment.kt @@ -38,7 +38,7 @@ open class BaseFragment : Fragment(), CoroutineScope, HasBackstack { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) if (view.background == null) { - view.setBackgroundColor(view.context.getThemeColor(UR.attr.primary_ui_01)) + view.setBackgroundColor(view.context.getThemeColor(UR.attr.primary_ui_04)) } view.isClickable = true view.isFocusable = true