Skip to content

Commit eaee4c1

Browse files
authored
Hardcode light theme for react navigation (#143)
1 parent 18939b7 commit eaee4c1

File tree

15 files changed

+4
-39
lines changed

15 files changed

+4
-39
lines changed

packages/mobile-app/app/(drawer)/account/account-settings/account-select/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StatusBar } from "expo-status-bar";
21
import { StyleSheet } from "react-native";
32
import { Stack, useRouter } from "expo-router";
43
import { useFacade } from "@/data/facades";
@@ -70,7 +69,6 @@ export default function AccountSelect() {
7069
Add Account
7170
</Button>
7271
</Layout>
73-
<StatusBar style="auto" />
7472
</Layout>
7573
</>
7674
);

packages/mobile-app/app/(drawer)/account/account-settings/add-account/create.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StatusBar } from "expo-status-bar";
21
import { Button, StyleSheet, TextInput, View } from "react-native";
32
import { useRouter } from "expo-router";
43
import { useState } from "react";
@@ -26,7 +25,6 @@ export default function CreateAccount() {
2625
router.dismissAll();
2726
}}
2827
/>
29-
<StatusBar style="auto" />
3028
</View>
3129
);
3230
}

packages/mobile-app/app/(drawer)/account/account-settings/add-account/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StatusBar } from "expo-status-bar";
21
import { StyleSheet } from "react-native";
32
import { Stack, Link } from "expo-router";
43
import { Layout, Text, Card, Button, Divider } from "@ui-kitten/components";
@@ -59,8 +58,6 @@ export default function AddAccount() {
5958
</Button>
6059
</Link>
6160
</Card>
62-
63-
<StatusBar style="auto" />
6461
</Layout>
6562
);
6663
}

packages/mobile-app/app/(drawer)/account/account-settings/export-account/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StatusBar } from "expo-status-bar";
21
import { StyleSheet, View } from "react-native";
32
import { Stack } from "expo-router";
43
import { useFacade } from "@/data/facades";
@@ -175,8 +174,6 @@ export default function ExportAccount() {
175174
)}
176175
</Card>
177176
</Modal>
178-
179-
<StatusBar style="auto" />
180177
</View>
181178
</>
182179
);

packages/mobile-app/app/(drawer)/account/account-settings/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StatusBar } from "expo-status-bar";
21
import {
32
Icon,
43
IconElement,
@@ -139,7 +138,6 @@ function AccountSettingsContent({ accountName }: { accountName: string }) {
139138
/>,
140139
)}
141140
</Menu>
142-
<StatusBar style="auto" />
143141
</Layout>
144142
</>
145143
);

packages/mobile-app/app/(drawer)/account/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export default function Balances() {
321321
</Layout>
322322
</Layout>
323323
</Animated.ScrollView>
324-
<StatusBar style="auto" />
324+
<StatusBar style="dark" />
325325
</View>
326326
</>
327327
);

packages/mobile-app/app/(drawer)/account/send/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StatusBar } from "expo-status-bar";
21
import { StyleSheet, View } from "react-native";
32
import { useFacade } from "@/data/facades";
43
import { useState, useMemo } from "react";
@@ -348,8 +347,6 @@ export default function Send() {
348347
</View>
349348
</Layout>
350349
</Modal>
351-
352-
<StatusBar style="auto" />
353350
</Layout>
354351
);
355352
}

packages/mobile-app/app/(drawer)/account/transaction/[hash].tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StatusBar } from "expo-status-bar";
21
import { StyleSheet, View, Linking } from "react-native";
32
import { useLocalSearchParams, Stack } from "expo-router";
43
import React from "react";
@@ -268,8 +267,6 @@ export default function TransactionDetails() {
268267
View on Explorer
269268
</Button>
270269
</View>
271-
272-
<StatusBar style="auto" />
273270
</Layout>
274271
);
275272
}

packages/mobile-app/app/(drawer)/app-settings/debug/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StatusBar } from "expo-status-bar";
21
import { StyleSheet } from "react-native";
32
import { Network } from "@/data/constants";
43
import { wallet } from "@/data/wallet/wallet";
@@ -69,7 +68,6 @@ export default function MenuDebug() {
6968
Remove Blocks
7069
</Button>
7170
</Layout>
72-
<StatusBar style="auto" />
7371
</Layout>
7472
);
7573
}

packages/mobile-app/app/(drawer)/app-settings/debug/oreowallet.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StatusBar } from "expo-status-bar";
21
import { Button, StyleSheet, Text, View } from "react-native";
32
import { IRON_ASSET_ID_HEX, Network } from "@/data/constants";
43
import { OreowalletServerApi } from "@/data/oreowalletServerApi/oreowalletServerApi";
@@ -148,7 +147,6 @@ export default function MenuDebugOreowallet() {
148147
</>
149148
)}
150149
</View>
151-
<StatusBar style="auto" />
152150
</View>
153151
);
154152
}

0 commit comments

Comments
 (0)