diff --git a/src/ui/settings/components/SettingsSection.tsx b/src/ui/settings/components/SettingsSection.tsx index 886404c..92a0a23 100644 --- a/src/ui/settings/components/SettingsSection.tsx +++ b/src/ui/settings/components/SettingsSection.tsx @@ -1,7 +1,7 @@ import { Forms } from "@ui/components"; import { getAssetIDByName } from "@ui/assets"; -const { FormRow, FormSection } = Forms; +const { FormRow, FormSection, FormDivider } = Forms; interface SettingsSectionProps { navigation: any; @@ -16,12 +16,14 @@ export default function SettingsSection({ navigation }: SettingsSectionProps) { trailing={FormRow.Arrow} onPress={() => navigation.push("VendettaSettings")} /> + } trailing={FormRow.Arrow} onPress={() => navigation.push("VendettaPlugins")} /> + } diff --git a/src/ui/settings/pages/AssetBrowser.tsx b/src/ui/settings/pages/AssetBrowser.tsx index dc75e20..61348fd 100644 --- a/src/ui/settings/pages/AssetBrowser.tsx +++ b/src/ui/settings/pages/AssetBrowser.tsx @@ -3,7 +3,7 @@ import { Forms } from "@ui/components"; import { all } from "@ui/assets"; import AssetDisplay from "@ui/settings/components/AssetDisplay"; -const { FormInput } = Forms; +const { FormInput, FormDivider } = Forms; export default function AssetBrowser() { const [searchName, setSearchName] = React.useState(""); @@ -18,7 +18,10 @@ export default function AssetBrowser() { a.name.includes(searchName))} renderItem={({ item }) => ( - + <> + + + )} keyExtractor={item => item.name} /> diff --git a/src/ui/settings/pages/General.tsx b/src/ui/settings/pages/General.tsx index 0a0eee9..bd7cc9e 100644 --- a/src/ui/settings/pages/General.tsx +++ b/src/ui/settings/pages/General.tsx @@ -5,7 +5,7 @@ import { getAssetIDByName } from "@ui/assets"; import { Forms } from "@ui/components"; import Version from "@ui/settings/components/Version"; -const { FormRow, FormSection, FormInput } = Forms; +const { FormRow, FormSection, FormInput, FormDivider } = Forms; const hermesProps = window.HermesInternal.getRuntimeProperties(); const rnVer = RN.Platform.constants.reactNativeVersion; @@ -37,14 +37,14 @@ export default function General() { return ( - {/* Why is there still a divider? */} - + } trailing={FormRow.Arrow} onPress={() => url.openURL(DISCORD_SERVER)} /> + } @@ -58,12 +58,14 @@ export default function General() { onChange={(v: string) => setDebuggerUrl(v)} title="DEBUGGER URL" /> + } trailing={FormRow.Arrow} onPress={() => connectToDebugger(debuggerUrl)} /> + } @@ -72,7 +74,12 @@ export default function General() { /> - {versions.map((v) => )} + {versions.map((v) => ( + <> + + + + ))} )