mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-05 21:06:21 +03:00
Fixed pin reset error if user no auth
This commit is contained in:
parent
b12623336f
commit
8e63a89000
@ -37,6 +37,7 @@ class SettingsScreen extends PureComponent {
|
|||||||
isDarkTheme,
|
isDarkTheme,
|
||||||
serverList,
|
serverList,
|
||||||
intl,
|
intl,
|
||||||
|
isLoggedIn,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -97,6 +98,7 @@ class SettingsScreen extends PureComponent {
|
|||||||
isOn={isNotificationOpen}
|
isOn={isNotificationOpen}
|
||||||
handleOnChange={handleOnChange}
|
handleOnChange={handleOnChange}
|
||||||
/>
|
/>
|
||||||
|
{!!isLoggedIn && (
|
||||||
<SettingsItem
|
<SettingsItem
|
||||||
title={intl.formatMessage({
|
title={intl.formatMessage({
|
||||||
id: 'settings.pincode',
|
id: 'settings.pincode',
|
||||||
@ -108,6 +110,7 @@ class SettingsScreen extends PureComponent {
|
|||||||
actionType="pincode"
|
actionType="pincode"
|
||||||
handleOnChange={handleOnChange}
|
handleOnChange={handleOnChange}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user