Use colorPrimarySurface for master switch

This commit is contained in:
tehcneko 2021-01-30 17:59:56 +08:00
parent 3c4b1bf758
commit 53430efbf1
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
<style name="MasterSwitch" parent="@style/ThemeOverlay.AppCompat.Dark">
<item name="masterSwitchBackgroundOff">#80868b</item>
<item name="masterSwitchBackgroundOn">?colorAccent</item>
<item name="masterSwitchBackgroundOn">?colorPrimarySurface</item>
<item name="masterSwitchTextAppearance">@style/MasterSwitch.TextAppearance</item>
<item name="switchStyle">@style/MasterSwitch.Switch</item>
</style>