mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-22 22:28:22 +03:00
make modal header buttons the same font weight
This commit is contained in:
@@ -75,7 +75,7 @@ export default function CardAddModal({navigation, route}) {
|
||||
navigation.setOptions({
|
||||
headerRight: () => <TouchableOpacity disabled={!canSave}
|
||||
onPress={() => cardAddCallback(cardNumber, cardName)}>
|
||||
<Text variant="bodyMedium" style={{...themeOptions, fontWeight: "600"}}>Save</Text>
|
||||
<Text variant="bodyMedium" style={{...themeOptions}}>Save</Text>
|
||||
</TouchableOpacity>
|
||||
})
|
||||
}, [navigation, modalStyles, cardName, cardNumber]);
|
||||
|
||||
@@ -52,7 +52,7 @@ export default function PhysicalCardScan() {
|
||||
|
||||
navigation.setOptions({
|
||||
headerRight: () => <TouchableOpacity disabled={!canSave} onPress={() => handleScan()}>
|
||||
<Text variant="bodyMedium" style={{...themeOptions, fontWeight: "600"}}>Scan</Text>
|
||||
<Text variant="bodyMedium" style={{...themeOptions}}>Scan</Text>
|
||||
</TouchableOpacity>
|
||||
})
|
||||
}, [navigation, modalStyles, cardName]);
|
||||
|
||||
Reference in New Issue
Block a user