Skip to content

Commit

Permalink
*tiny* UI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly committed Mar 8, 2024
1 parent 1d359b6 commit e863a6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/core/ui/components/Version.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ interface VersionProps {
label: string;
version: string;
icon: string;
padding: boolean;
}

export default function Version({ label, version, icon, padding }: VersionProps) {
export default function Version({ label, version, icon }: VersionProps) {
return (
<TableRow
style={padding && { paddingHorizontal: 15, paddingVertical: -15 }}
label={label}
icon={<TableRow.Icon source={getAssetIDByName(icon)} />}
trailing={<FormText>{version}</FormText>}
Expand Down
4 changes: 2 additions & 2 deletions src/core/ui/settings/pages/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ export default function About() {
<ScrollView style={{ flex: 1 }} contentContainerStyle={{ paddingBottom: 38 }}>
<Stack style={{ paddingVertical: 24, paddingHorizontal: 12 }} spacing={24}>
<TableRowGroup title={Strings.VERSIONS}>
{versions.map(v => <Version padding label={v.label} version={v.version} icon={v.icon} />)}
{versions.map(v => <Version label={v.label} version={v.version} icon={v.icon} />)}
</TableRowGroup>
<TableRowGroup title={Strings.PLATFORM}>
{platformInfo.map(p => <Version padding label={p.label} version={p.version} icon={p.icon} />)}
{platformInfo.map(p => <Version label={p.label} version={p.version} icon={p.icon} />)}
</TableRowGroup>
</Stack>
</ScrollView>
Expand Down

0 comments on commit e863a6e

Please sign in to comment.