Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3354587
D12193.id40563.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12193.id40563.diff
View Options
diff --git a/native/account/logged-out-modal.react.js b/native/account/logged-out-modal.react.js
--- a/native/account/logged-out-modal.react.js
+++ b/native/account/logged-out-modal.react.js
@@ -605,28 +605,6 @@
navigate(RegistrationRouteName);
}, [navigate]);
- const siweButton = (
- <>
- <TouchableOpacity
- onPress={onPressSIWE}
- style={[styles.button, styles.siweButton]}
- activeOpacity={0.6}
- >
- <View style={styles.siweIcon}>
- <EthereumLogo />
- </View>
- <Text style={[styles.buttonText, styles.siweButtonText]}>
- Sign in with Ethereum
- </Text>
- </TouchableOpacity>
- <View style={styles.siweOr}>
- <View style={styles.siweOrLeftHR} />
- <Text style={styles.siweOrText}>or</Text>
- <View style={styles.siweOrRightHR} />
- </View>
- </>
- );
-
let panel = null;
let buttons = null;
if (mode.curMode === 'log-in') {
@@ -707,7 +685,23 @@
buttons = (
<Animated.View style={[styles.buttonContainer, opacityStyle]}>
<LoggedOutStaffInfo />
- {siweButton}
+ <TouchableOpacity
+ onPress={onPressSIWE}
+ style={[styles.button, styles.siweButton]}
+ activeOpacity={0.6}
+ >
+ <View style={styles.siweIcon}>
+ <EthereumLogo />
+ </View>
+ <Text style={[styles.buttonText, styles.siweButtonText]}>
+ Sign in with Ethereum
+ </Text>
+ </TouchableOpacity>
+ <View style={styles.siweOr}>
+ <View style={styles.siweOrLeftHR} />
+ <Text style={styles.siweOrText}>or</Text>
+ <View style={styles.siweOrRightHR} />
+ </View>
<View style={styles.signInButtons}>{signInButtons}</View>
<View style={styles.registerButtons}>{registerButtons}</View>
</Animated.View>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 1:00 PM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2575119
Default Alt Text
D12193.id40563.diff (1 KB)
Attached To
Mode
D12193: [native] Inline siweButton in LoggedOutModal
Attached
Detach File
Event Timeline
Log In to Comment