|
|
@@ -42,10 +42,20 @@ if (Text.defaultProps == null)
|
|
|
Text.defaultProps = {};
|
|
|
Text.defaultProps.allowFontScaling = false;
|
|
|
|
|
|
+const sourceRender = Text.render;
|
|
|
+Text.render = function render(props, ref) {
|
|
|
+ return sourceRender.apply(this, [{ ...props, style: [{fontFamily: 'system-ui'}, props.style] }, ref]);
|
|
|
+};
|
|
|
+
|
|
|
if (TextInput.defaultProps == null)
|
|
|
TextInput.defaultProps = {};
|
|
|
TextInput.defaultProps.allowFontScaling = false;
|
|
|
|
|
|
+const sourceRender2 = TextInput.render;
|
|
|
+TextInput.render = function render(props, ref) {
|
|
|
+ return sourceRender2.apply(this, [{ ...props, style: [{fontFamily: 'system-ui'}, props.style] }, ref]);
|
|
|
+};
|
|
|
+
|
|
|
global.currency = "";//'$';
|
|
|
global.accessToken = '';
|
|
|
global.startPage = {};
|