about summary refs log tree commit diff
path: root/src/components/forms
diff options
context:
space:
mode:
authorJan-Olof Eriksson <jan-olof.eriksson@iki.fi>2024-02-24 16:37:08 +0200
committerGitHub <noreply@github.com>2024-02-24 16:37:08 +0200
commit1f9562847512bb41cd8bb381b735a388be4db59b (patch)
tree2181860f0f4cde3b4e24b5d6045420cc86083d91 /src/components/forms
parent38fd4282f88ac020ee72d5a6324191ee80798450 (diff)
parentd38f168de593b0a7883180ee51bf043eb1557dd2 (diff)
downloadvoidsky-1f9562847512bb41cd8bb381b735a388be4db59b.tar.zst
Merge branch 'bluesky-social:main' into main
Diffstat (limited to 'src/components/forms')
-rw-r--r--src/components/forms/DateField/index.android.tsx2
-rw-r--r--src/components/forms/DateField/index.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/components/forms/DateField/index.android.tsx b/src/components/forms/DateField/index.android.tsx
index 83fa285f5..cddb643d6 100644
--- a/src/components/forms/DateField/index.android.tsx
+++ b/src/components/forms/DateField/index.android.tsx
@@ -98,7 +98,7 @@ export function DateField({
           timeZoneName={'Etc/UTC'}
           display="spinner"
           // @ts-ignore applies in iOS only -prf
-          themeVariant={t.name === 'dark' ? 'dark' : 'light'}
+          themeVariant={t.name === 'light' ? 'light' : 'dark'}
           value={new Date(value)}
           onChange={onChangeInternal}
         />
diff --git a/src/components/forms/DateField/index.tsx b/src/components/forms/DateField/index.tsx
index c359a9d46..e65936e0e 100644
--- a/src/components/forms/DateField/index.tsx
+++ b/src/components/forms/DateField/index.tsx
@@ -47,7 +47,7 @@ export function DateField({
         mode="date"
         timeZoneName={'Etc/UTC'}
         display="spinner"
-        themeVariant={t.name === 'dark' ? 'dark' : 'light'}
+        themeVariant={t.name === 'light' ? 'light' : 'dark'}
         value={new Date(value)}
         onChange={onChangeInternal}
       />