Page MenuHomePhabricator

D12193.id40563.diff
No OneTemporary

D12193.id40563.diff

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

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)

Event Timeline