mg-library 1.0.531 → 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 +9 -7
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -210,15 +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
215
|
<>
|
216
216
|
<Image
|
217
217
|
source={require('./assets/clubonline.png')}
|
218
|
-
style={{ width:
|
218
|
+
style={{ width: 300, height: 150 }} />
|
219
219
|
</>
|
220
|
-
|
221
|
-
|
220
|
+
</View>
|
221
|
+
}
|
222
|
+
{!isKeyboardVisible &&
|
223
|
+
<View style={{ flexDirection: 'column', alignItems: 'center', marginBottom: 100 }}>
|
222
224
|
<>
|
223
225
|
<Image
|
224
226
|
source={require('./assets/clubonline.png')}
|
@@ -228,8 +230,8 @@ export function MGLogin(props) {
|
|
228
230
|
<Text style={{ alignSelf: 'center' }} category='p2'>{props.appVersion}</Text>
|
229
231
|
</View>
|
230
232
|
</>
|
231
|
-
|
232
|
-
|
233
|
+
</View>
|
234
|
+
}
|
233
235
|
<View>
|
234
236
|
<Card style={{ flexDirection: 'column', justifyContent: 'center', alignContent: 'center', marginLeft: 30, marginRight: 30 }}
|
235
237
|
header={cardHeader}
|