Page MenuHomePhabricator

D14161.id46529.diff
No OneTemporary

D14161.id46529.diff

diff --git a/native/components/primary-button.react.js b/native/components/primary-button.react.js
--- a/native/components/primary-button.react.js
+++ b/native/components/primary-button.react.js
@@ -45,6 +45,8 @@
return [styles.buttonText, styles.invisibleLoadingText];
} else if (variant === 'danger') {
return [styles.buttonText, styles.dangerButtonText];
+ } else if (variant === 'outline') {
+ return [styles.buttonText, styles.outlineButtonText];
}
return styles.buttonText;
}, [
@@ -53,6 +55,7 @@
styles.disabledButtonText,
styles.invisibleLoadingText,
styles.dangerButtonText,
+ styles.outlineButtonText,
]);
const colors = useColors();
@@ -95,7 +98,7 @@
},
buttonText: {
fontSize: 18,
- color: 'panelForegroundLabel',
+ color: 'whiteText',
textAlign: 'center',
padding: 12,
},
@@ -121,6 +124,9 @@
dangerButtonText: {
color: 'redText',
},
+ outlineButtonText: {
+ color: 'panelForegroundLabel',
+ },
spinner: {
position: 'absolute',
width: '100%',

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 6:50 PM (11 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2674499
Default Alt Text
D14161.id46529.diff (1 KB)

Event Timeline