Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a0ffcae authored by maxwen's avatar maxwen Committed by Rashed Abdel-Tawab
Browse files

Settings: Fix hardcoded black text in storage summary

Change-Id: Ic5dae7ca8417e07512be19fb1509643def0f1105
parent 1906a9e4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import androidx.preference.Preference;
import androidx.preference.PreferenceViewHolder;

import com.android.settings.R;
import com.android.settingslib.Utils;

public class StorageSummaryPreference extends Preference {
    private int mPercent = -1;
@@ -55,7 +56,8 @@ public class StorageSummaryPreference extends Preference {
        }

        final TextView summary = (TextView) view.findViewById(android.R.id.summary);
        summary.setTextColor(Color.parseColor("#8a000000"));
        summary.setTextColor(Utils.getColorAttrDefaultColor(getContext(), 
                android.R.attr.textColorSecondary));

        super.onBindViewHolder(view);
    }