mg-library 1.0.407 → 1.0.409
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 +12 -6
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -33,8 +33,14 @@ export function MGWelcome(props) {
|
|
33
33
|
let listHeaderComponent = (
|
34
34
|
<View>
|
35
35
|
<MGSessionHeader module={mgFunctionsLib.i18nString('notices', props.language)} person={props.person} theme={props.theme} />
|
36
|
-
{companyInfoComponent}
|
36
|
+
{companyInfoComponent}
|
37
37
|
<MGDivider />
|
38
|
+
{props.beforeNotices != undefined &&
|
39
|
+
<>
|
40
|
+
{props.beforeNotices}
|
41
|
+
<MGDivider />
|
42
|
+
</>
|
43
|
+
}
|
38
44
|
</View>
|
39
45
|
);
|
40
46
|
|
@@ -144,8 +150,8 @@ export function MGLogin(props) {
|
|
144
150
|
style={{ width: 300, height: 150 }} />
|
145
151
|
{!isKeyboardVisible &&
|
146
152
|
<View style={{ flexDirection: 'column', alignItems: 'center' }}>
|
147
|
-
<Text style={{alignSelf: 'center'}} category='h6'>{props.appDescription}</Text>
|
148
|
-
<Text style={{alignSelf: 'center'}} category='p2'>{props.appVersion}</Text>
|
153
|
+
<Text style={{ alignSelf: 'center' }} category='h6'>{props.appDescription}</Text>
|
154
|
+
<Text style={{ alignSelf: 'center' }} category='p2'>{props.appVersion}</Text>
|
149
155
|
</View>
|
150
156
|
}
|
151
157
|
</View>
|
@@ -246,9 +252,9 @@ export function MGCurrentAccount(props) {
|
|
246
252
|
}
|
247
253
|
|
248
254
|
export function MGCamera(props) {
|
249
|
-
let camera;
|
250
|
-
let captureWidth = 205;
|
251
|
-
let captureHeight = 275;
|
255
|
+
let camera;
|
256
|
+
let captureWidth = 205;
|
257
|
+
let captureHeight = 275;
|
252
258
|
const __takePicture = async () => {
|
253
259
|
if (!camera)
|
254
260
|
return;
|