Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

fix(mobile): update ActivityIndicator color to primaryForeground (#836)

Corentin Thomasset5250d20e2622
diff --git a/apps/mobile/src/modules/auth/screens/login.screen.tsx b/apps/mobile/src/modules/auth/screens/login.screen.tsx
index ddec0473..0e3c54b4 100644
--- a/apps/mobile/src/modules/auth/screens/login.screen.tsx
+++ b/apps/mobile/src/modules/auth/screens/login.screen.tsx
@@ -159,7 +159,7 @@ export function LoginScreen() {
>
{isSubmitting
? (
- <ActivityIndicator color="#fff" />
+ <ActivityIndicator color={themeColors.primaryForeground} />
)
: (
<Text style={styles.buttonText}>Sign In</Text>
diff --git a/apps/mobile/src/modules/auth/screens/signup.screen.tsx b/apps/mobile/src/modules/auth/screens/signup.screen.tsx
index 8a3e45d1..e0df89bc 100644
--- a/apps/mobile/src/modules/auth/screens/signup.screen.tsx
+++ b/apps/mobile/src/modules/auth/screens/signup.screen.tsx
@@ -182,7 +182,7 @@ export function SignupScreen() {
>
{isSubmitting
? (
- <ActivityIndicator color="#fff" />
+ <ActivityIndicator color={themeColors.primaryForeground} />
)
: (
<Text style={styles.buttonText}>Sign Up</Text>
diff --git a/apps/mobile/src/modules/organizations/screens/organization-create.screen.tsx b/apps/mobile/src/modules/organizations/screens/organization-create.screen.tsx
index 9774a5bd..a075a841 100644
--- a/apps/mobile/src/modules/organizations/screens/organization-create.screen.tsx
+++ b/apps/mobile/src/modules/organizations/screens/organization-create.screen.tsx
@@ -99,7 +99,7 @@ export function OrganizationCreateScreen() {
>
{createMutation.isPending
? (
- <ActivityIndicator color="#fff" />
+ <ActivityIndicator color={themeColors.primaryForeground} />
)
: (
<Text style={styles.buttonText}>Create Organization</Text>