mg-library 1.0.530 → 1.0.532
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocks.js +13 -4
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -210,8 +210,17 @@ export function MGLogin(props) {
|
|
210
210
|
<View style={{ flex: 1 }}>
|
211
211
|
<Layout style={[mgFunctionsLib.safeAreaViewStyleSheet(insets).safeAreaView, { display: 'flex', flexDirection: 'column', flexGrow: 1 }]}>
|
212
212
|
<View style={{ flexDirection: 'column', flexGrow: 1, justifyContent: 'center' }}>
|
213
|
-
|
214
|
-
{
|
213
|
+
{isKeyboardVisible &&
|
214
|
+
<View style={{ flexDirection: 'column', alignItems: 'center', marginBottom: 20 }}>
|
215
|
+
<>
|
216
|
+
<Image
|
217
|
+
source={require('./assets/clubonline.png')}
|
218
|
+
style={{ width: 300, height: 150 }} />
|
219
|
+
</>
|
220
|
+
</View>
|
221
|
+
}
|
222
|
+
{!isKeyboardVisible &&
|
223
|
+
<View style={{ flexDirection: 'column', alignItems: 'center', marginBottom: 100 }}>
|
215
224
|
<>
|
216
225
|
<Image
|
217
226
|
source={require('./assets/clubonline.png')}
|
@@ -221,8 +230,8 @@ export function MGLogin(props) {
|
|
221
230
|
<Text style={{ alignSelf: 'center' }} category='p2'>{props.appVersion}</Text>
|
222
231
|
</View>
|
223
232
|
</>
|
224
|
-
|
225
|
-
|
233
|
+
</View>
|
234
|
+
}
|
226
235
|
<View>
|
227
236
|
<Card style={{ flexDirection: 'column', justifyContent: 'center', alignContent: 'center', marginLeft: 30, marginRight: 30 }}
|
228
237
|
header={cardHeader}
|