Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33131706
D6619.1768498991.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6619.1768498991.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
@@ -463,33 +463,30 @@
render() {
const { styles } = this.props;
- let panel = null;
- let buttons = null;
- let siweButton = null;
- if (__DEV__) {
- siweButton = (
- <>
- <TouchableOpacity
- onPress={this.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} />
+ const siweButton = (
+ <>
+ <TouchableOpacity
+ onPress={this.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 (this.state.mode === 'log-in') {
panel = (
<LogInPanel
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 5:43 PM (9 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5939141
Default Alt Text
D6619.1768498991.diff (1 KB)
Attached To
Mode
D6619: [native] Flip the switch to enable `SIWE` on `native`
Attached
Detach File
Event Timeline
Log In to Comment