Skip to content

Commit e1a54b5

Browse files
authored
chore: improve styles in Example app (#740)
1 parent 04746c7 commit e1a54b5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

KeychainExample/src/App.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ export default function App() {
253253
/>
254254
<Text style={styles.label}>Storage</Text>
255255
<SegmentedControlTab
256-
tabTextStyle={{ fontSize: 12 }}
257-
tabStyle={{ padding: 5, flex: 0 }}
256+
tabTextStyle={styles.tabText}
257+
tabStyle={styles.tab}
258258
selectedIndex={selectedStorageIndex}
259259
values={SECURITY_STORAGE_OPTIONS}
260260
onTabPress={(index) => {
@@ -364,4 +364,11 @@ const styles = StyleSheet.create({
364364
paddingHorizontal: 16,
365365
paddingVertical: 8,
366366
},
367+
tabText: {
368+
fontSize: 12,
369+
},
370+
tab: {
371+
padding: 5,
372+
flex: 0,
373+
},
367374
});

0 commit comments

Comments
 (0)