mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-14 07:08:44 +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,
|
||||
serverList,
|
||||
intl,
|
||||
isLoggedIn,
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
@ -97,6 +98,7 @@ class SettingsScreen extends PureComponent {
|
||||
isOn={isNotificationOpen}
|
||||
handleOnChange={handleOnChange}
|
||||
/>
|
||||
{!!isLoggedIn && (
|
||||
<SettingsItem
|
||||
title={intl.formatMessage({
|
||||
id: 'settings.pincode',
|
||||
@ -108,6 +110,7 @@ class SettingsScreen extends PureComponent {
|
||||
actionType="pincode"
|
||||
handleOnChange={handleOnChange}
|
||||
/>
|
||||
)}
|
||||
</ScrollView>
|
||||
</View>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user