|
@@ -10,6 +10,7 @@ import {withCollapsible} from "../../utils/withCollapsible";
|
10
|
10
|
import {Collapsible} from "react-navigation-collapsible";
|
11
|
11
|
import CustomTabBar from "../../components/Tabbar/CustomTabBar";
|
12
|
12
|
import type {CustomTheme} from "../../managers/ThemeManager";
|
|
13
|
+import AsyncStorageManager from "../../managers/AsyncStorageManager";
|
13
|
14
|
|
14
|
15
|
type Props = {
|
15
|
16
|
navigation: Object,
|
|
@@ -81,6 +82,11 @@ class LoginScreen extends React.Component<Props, State> {
|
81
|
82
|
hideErrorDialog = () => this.setState({dialogVisible: false});
|
82
|
83
|
|
83
|
84
|
handleSuccess = () => {
|
|
85
|
+ // Do not show the login banner again
|
|
86
|
+ AsyncStorageManager.getInstance().savePref(
|
|
87
|
+ AsyncStorageManager.getInstance().preferences.homeShowBanner.key,
|
|
88
|
+ '0'
|
|
89
|
+ );
|
84
|
90
|
if (this.nextScreen == null)
|
85
|
91
|
this.props.navigation.goBack();
|
86
|
92
|
else
|