Skip to content

Commit

Permalink
Merge pull request #215 from Automattic/update/background-color
Browse files Browse the repository at this point in the history
Fix dark theme background color
  • Loading branch information
mchowning authored Aug 8, 2022
2 parents 8f0d629 + 4bbbe28 commit 36a2d2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36a2d2c

Please sign in to comment.