Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet } from "react-native";
import { Stack, useRouter } from "expo-router";
import { useFacade } from "@/data/facades";
Expand Down Expand Up @@ -70,7 +69,6 @@ export default function AccountSelect() {
Add Account
</Button>
</Layout>
<StatusBar style="auto" />
</Layout>
</>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { Button, StyleSheet, TextInput, View } from "react-native";
import { useRouter } from "expo-router";
import { useState } from "react";
Expand Down Expand Up @@ -26,7 +25,6 @@ export default function CreateAccount() {
router.dismissAll();
}}
/>
<StatusBar style="auto" />
</View>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet } from "react-native";
import { Stack, Link } from "expo-router";
import { Layout, Text, Card, Button, Divider } from "@ui-kitten/components";
Expand Down Expand Up @@ -59,8 +58,6 @@ export default function AddAccount() {
</Button>
</Link>
</Card>

<StatusBar style="auto" />
</Layout>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet, View } from "react-native";
import { Stack } from "expo-router";
import { useFacade } from "@/data/facades";
Expand Down Expand Up @@ -175,8 +174,6 @@ export default function ExportAccount() {
)}
</Card>
</Modal>

<StatusBar style="auto" />
</View>
</>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import {
Icon,
IconElement,
Expand Down Expand Up @@ -139,7 +138,6 @@ function AccountSettingsContent({ accountName }: { accountName: string }) {
/>,
)}
</Menu>
<StatusBar style="auto" />
</Layout>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile-app/app/(drawer)/account/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export default function Balances() {
</Layout>
</Layout>
</Animated.ScrollView>
<StatusBar style="auto" />
<StatusBar style="dark" />
</View>
</>
);
Expand Down
3 changes: 0 additions & 3 deletions packages/mobile-app/app/(drawer)/account/send/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet, View } from "react-native";
import { useFacade } from "@/data/facades";
import { useState, useMemo } from "react";
Expand Down Expand Up @@ -348,8 +347,6 @@ export default function Send() {
</View>
</Layout>
</Modal>

<StatusBar style="auto" />
</Layout>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet, View, Linking } from "react-native";
import { useLocalSearchParams, Stack } from "expo-router";
import React from "react";
Expand Down Expand Up @@ -268,8 +267,6 @@ export default function TransactionDetails() {
View on Explorer
</Button>
</View>

<StatusBar style="auto" />
</Layout>
);
}
Expand Down
2 changes: 0 additions & 2 deletions packages/mobile-app/app/(drawer)/app-settings/debug/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet } from "react-native";
import { Network } from "@/data/constants";
import { wallet } from "@/data/wallet/wallet";
Expand Down Expand Up @@ -69,7 +68,6 @@ export default function MenuDebug() {
Remove Blocks
</Button>
</Layout>
<StatusBar style="auto" />
</Layout>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { Button, StyleSheet, Text, View } from "react-native";
import { IRON_ASSET_ID_HEX, Network } from "@/data/constants";
import { OreowalletServerApi } from "@/data/oreowalletServerApi/oreowalletServerApi";
Expand Down Expand Up @@ -148,7 +147,6 @@ export default function MenuDebugOreowallet() {
</>
)}
</View>
<StatusBar style="auto" />
</View>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { Button, ScrollView, StyleSheet, Text, View } from "react-native";
import { Network } from "@/data/constants";
import { wallet } from "@/data/wallet/wallet";
Expand Down Expand Up @@ -58,7 +57,6 @@ export default function MenuDebugPending() {
</View>
))}
</ScrollView>
<StatusBar style="auto" />
</View>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { Button, ScrollView, StyleSheet, Text, View } from "react-native";
import { IRON_ASSET_ID_HEX, Network } from "@/data/constants";
import { wallet } from "@/data/wallet/wallet";
Expand Down Expand Up @@ -82,7 +81,6 @@ export default function MenuDebugUnspentNotes() {
</View>
))}
</ScrollView>
<StatusBar style="auto" />
</View>
);
}
Expand Down
2 changes: 0 additions & 2 deletions packages/mobile-app/app/(drawer)/app-settings/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet } from "react-native";
import {
Icon,
Expand Down Expand Up @@ -67,7 +66,6 @@ export default function MenuScreen() {
/>
))}
</Menu>
<StatusBar style="auto" />
</Layout>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { StatusBar } from "expo-status-bar";
import {
Button,
Modal,
Expand Down Expand Up @@ -126,7 +125,6 @@ export default function MenuNetwork() {
</View>
</View>
<Button title="Change Network" onPress={() => setModalVisible(true)} />
<StatusBar style="auto" />
</View>
);
}
Expand Down
11 changes: 3 additions & 8 deletions packages/mobile-app/app/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
DarkTheme,
DefaultTheme,
ThemeProvider,
} from "@react-navigation/native";
import { DefaultTheme, ThemeProvider } from "@react-navigation/native";
import { Stack } from "expo-router";
import { ActivityIndicator, SafeAreaView, StyleSheet } from "react-native";
import {
Expand All @@ -11,7 +7,7 @@ import {
QueryClientProvider,
} from "@tanstack/react-query";

import { useColorScheme, Text } from "react-native";
import { Text } from "react-native";
import { FacadeProvider, useFacade } from "@/data/facades";
import { useEffect, useState } from "react";
import { useFonts } from "expo-font";
Expand Down Expand Up @@ -65,7 +61,6 @@ function DatabaseLoader({ children }: { children?: React.ReactNode }) {
}

export default function Layout() {
const scheme = useColorScheme();
const [loaded] = useFonts({
Favorit: require("../assets/fonts/ABCFavorit-Regular.otf"),
FavoritExtended: require("../assets/fonts/ABCFavoritExtended-Regular.otf"),
Expand All @@ -74,7 +69,7 @@ export default function Layout() {
if (!loaded) return null;

return (
<ThemeProvider value={scheme === "dark" ? DarkTheme : DefaultTheme}>
<ThemeProvider value={DefaultTheme}>
<IconRegistry icons={EvaIconsPack} />
<ApplicationProvider {...eva} theme={eva.light}>
<QueryClientProvider client={queryClient}>
Expand Down
Loading