File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,12 @@ class SettingsScreen extends Component {
62
62
} , 1000 ) ;
63
63
} ;
64
64
65
+ shouldShowRefreshAppMessage = ( ) => {
66
+ const { showRefreshMessage} = this . state ;
67
+ const { showRefreshAppMessage} = this . props ;
68
+ return showRefreshMessage || showRefreshAppMessage ;
69
+ }
70
+
65
71
renderTitle ( title , subtitle ) {
66
72
return (
67
73
< View marginT-20 >
@@ -111,10 +117,13 @@ class SettingsScreen extends Component {
111
117
< Text text80 dark20 > Force RTL</ Text >
112
118
</ View >
113
119
</ View >
120
+
121
+ { extraSettingsUI ?. ( ) }
122
+
114
123
</ View >
115
124
116
125
< Text text30 dark10 > Settings</ Text >
117
- < Toast visible = { showRefreshMessage } position = "bottom" message = "Refresh the app!" />
126
+ < Toast visible = { this . shouldShowRefreshAppMessage ( ) } position = "bottom" message = "Refresh the app!" />
118
127
</ View >
119
128
) ;
120
129
}
You can’t perform that action at this time.
0 commit comments