Merge "Update icon tint color when the user toggles Dark theme" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-05-13 09:37:37 +00:00
committed by Android (Google) Code Review
11 changed files with 83 additions and 32 deletions

View File

@@ -86,9 +86,6 @@ public class WifiSlice implements CustomSliceable {
@Override
public Slice getSlice() {
// Reload theme for switching dark mode on/off
mContext.getTheme().applyStyle(R.style.Theme_Settings_Home, true /* force */);
final boolean isWifiEnabled = isWifiEnabled();
ListBuilder listBuilder = getListBuilder(isWifiEnabled, null /* accessPoint */);
if (!isWifiEnabled) {