about summary refs log tree commit diff
path: root/src/components/forms
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-12-03 23:57:26 +0000
committerGitHub <noreply@github.com>2024-12-03 23:57:26 +0000
commitdf3b43bb645ec2b9a47e70b6d143ce45ee895a0d (patch)
treea00d2b6b6336274e74016566668fdeb66418672d /src/components/forms
parent0c71f8196faf401dc9847b0bfb6559e5d7024940 (diff)
downloadvoidsky-df3b43bb645ec2b9a47e70b6d143ce45ee895a0d.tar.zst
simplify date picker theme (#6926)
Diffstat (limited to 'src/components/forms')
-rw-r--r--src/components/forms/DateField/index.android.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/forms/DateField/index.android.tsx b/src/components/forms/DateField/index.android.tsx
index 0fd5bca01..b64c0e9fa 100644
--- a/src/components/forms/DateField/index.android.tsx
+++ b/src/components/forms/DateField/index.android.tsx
@@ -56,7 +56,7 @@ export function DateField({
           modal
           open
           timeZoneOffsetInMinutes={0}
-          theme={t.name === 'light' ? 'light' : 'dark'}
+          theme={t.scheme}
           buttonColor={t.name === 'light' ? '#000000' : '#ffffff'}
           date={new Date(value)}
           onConfirm={onChangeInternal}