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.
Files changed (2) hide show
  1. package/blocks.js +13 -4
  2. 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
- <View style={{ flexDirection: 'column', alignItems: 'center', marginBottom: 100 }}>
214
- {!isKeyboardVisible &&
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
- </View>
233
+ </View>
234
+ }
226
235
  <View>
227
236
  <Card style={{ flexDirection: 'column', justifyContent: 'center', alignContent: 'center', marginLeft: 30, marginRight: 30 }}
228
237
  header={cardHeader}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.530",
3
+ "version": "1.0.532",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {