change quick settings action icon
This commit is contained in:
@@ -74,7 +74,7 @@ internal object QuickSettingsComponent : ScaffoldComponent(), KoinComponent {
|
||||
contentAlignment = Alignment.Center
|
||||
) {
|
||||
Icon(
|
||||
painterResource(R.drawable.settings_24px), null,
|
||||
painterResource(R.drawable.dashboard_2_24px), null,
|
||||
modifier = Modifier.padding(16.dp),
|
||||
tint = MaterialTheme.colorScheme.onSecondaryContainer,
|
||||
)
|
||||
|
||||
@@ -215,7 +215,7 @@ internal fun GesturePreference(
|
||||
if (options.contains(GestureAction.QuickSettings::class)) {
|
||||
GestureItem(
|
||||
title = stringResource(R.string.gesture_action_quick_settings),
|
||||
icon = R.drawable.settings_24px,
|
||||
icon = R.drawable.dashboard_2_24px,
|
||||
selected = value is GestureAction.QuickSettings,
|
||||
onClick = {
|
||||
onValueChanged(GestureAction.QuickSettings, null)
|
||||
|
||||
10
core/base/src/main/res/drawable/dashboard_2_24px.xml
Normal file
10
core/base/src/main/res/drawable/dashboard_2_24px.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M640,800Q623,800 611.5,788.5Q600,777 600,760L600,560Q600,543 611.5,531.5Q623,520 640,520L840,520Q857,520 868.5,531.5Q880,543 880,560L880,760Q880,777 868.5,788.5Q857,800 840,800L640,800ZM480,440Q463,440 451.5,428.5Q440,417 440,400L440,200Q440,183 451.5,171.5Q463,160 480,160L840,160Q857,160 868.5,171.5Q880,183 880,200L880,400Q880,417 868.5,428.5Q857,440 840,440L480,440ZM120,800Q103,800 91.5,788.5Q80,777 80,760L80,560Q80,543 91.5,531.5Q103,520 120,520L480,520Q497,520 508.5,531.5Q520,543 520,560L520,760Q520,777 508.5,788.5Q497,800 480,800L120,800ZM120,440Q103,440 91.5,428.5Q80,417 80,400L80,200Q80,183 91.5,171.5Q103,160 120,160L320,160Q337,160 348.5,171.5Q360,183 360,200L360,400Q360,417 348.5,428.5Q337,440 320,440L120,440ZM520,360L800,360L800,240L520,240L520,360ZM160,720L440,720L440,600L160,600L160,720ZM680,720L800,720L800,600L680,600L680,720ZM160,360L280,360L280,240L160,240L160,360ZM520,360L520,360L520,360L520,360ZM440,600L440,600L440,600L440,600ZM680,600L680,600L680,600L680,600ZM280,360L280,360L280,360L280,360Z"/>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user