diff --git a/Select.tsx b/Select.tsx index ca74656..38f8092 100644 --- a/Select.tsx +++ b/Select.tsx @@ -7,6 +7,7 @@ export interface Item { value: string; label: string; color?: string; + icon?: string; } function Select({ @@ -64,6 +65,7 @@ function Select({ key={item.value} onPress={() => press(item.value)} titleStyle={{ color: item.color || colors.onSurface }} + leadingIcon={item.icon} /> ))} diff --git a/SettingsPage.tsx b/SettingsPage.tsx index c91025d..029dd69 100644 --- a/SettingsPage.tsx +++ b/SettingsPage.tsx @@ -135,14 +135,14 @@ export default function SettingsPage() { { diff --git a/android/app/build.gradle b/android/app/build.gradle index 60002ca..06274eb 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -85,8 +85,8 @@ android { applicationId "com.massive" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 36236 - versionName "2.21" + versionCode 36237 + versionName "2.22" } signingConfigs { release { diff --git a/options.ts b/options.ts index b361758..657f380 100644 --- a/options.ts +++ b/options.ts @@ -1,9 +1,9 @@ import { DARK_COLORS, LIGHT_COLORS } from "./colors"; export const themeOptions = [ - { label: "System", value: "system" }, - { label: "Dark", value: "dark" }, - { label: "Light", value: "light" }, + { label: "System", value: "system", icon: 'cellphone' }, + { label: "Dark", value: "dark", icon: 'lightbulb-off-outline' }, + { label: "Light", value: "light", icon: 'lightbulb-outline' }, ]; export const lightOptions = LIGHT_COLORS.map((color) => ({ diff --git a/package.json b/package.json index be68d04..d4bb9a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "massive", - "version": "2.21", + "version": "2.22", "private": true, "license": "GPL-3.0-only", "scripts": {