Commit 37ad78ef by Nguyễn Thị Thúy

fix bug bank dialog

parent 1db9aa68
......@@ -35,12 +35,12 @@ android_library(
android_build_config(
name = "build_config",
package = "com.invest",
package = "com.dcv.invest",
)
android_resource(
name = "res",
package = "com.invest",
package = "com.dcv.invest",
res = "src/main/res",
)
......
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.invest">
package="com.dcv.invest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA"/>
......
package com.invest;
package com.dcv.invest;
import android.os.Bundle;
import com.facebook.react.ReactActivity;
import com.zoontek.rnbootsplash.RNBootSplash;
......
package com.invest;
package com.dcv.invest;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.reactnativecommunity.netinfo.NetInfoPackage;
import com.zoontek.rnbootsplash.RNBootSplashPackage;
import com.zoontek.rnbootsplash.RNBootSplashPackage;
import com.BV.LinearGradient.LinearGradientPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import com.facebook.react.ReactApplication; //<- Dòng này
import com.zoontek.rnbootsplash.RNBootSplashPackage;
public class MainApplication extends Application implements ReactApplication {
......@@ -72,7 +66,7 @@ public class MainApplication extends Application implements ReactApplication {
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/
Class<?> aClass = Class.forName("com.invest.ReactNativeFlipper");
Class<?> aClass = Class.forName("com.dcv.invest.ReactNativeFlipper");
aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager);
......
......@@ -44,7 +44,7 @@
<key>NSCameraUsageDescription</key>
<string>Accect connect camera</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<string/>
<key>NSPhotoLibraryUsageDescription</key>
<string>To upload images</string>
<key>UIAppFonts</key>
......
......@@ -21,6 +21,7 @@ import {
} from '../../Config/Functions';
import I18n from '../../helper/i18/i18n';
import ItemBank from './ItemBank';
import {SafeAreaView} from 'react-native-safe-area-context';
const SelectBankModal = (props) => {
console.log(props)
......@@ -135,7 +136,8 @@ const SelectBankModal = (props) => {
animated={true}
animationType="fade"
visible={modalVisible}
transparent={true}>
>
<SafeAreaView>
<View style={styles.overViewModal}>
<View style={[styles.container]}>
<View style={styles.viewTitle}>
......@@ -192,6 +194,7 @@ const SelectBankModal = (props) => {
</View>
</View>
</View>
</SafeAreaView>
</Modal>
</View>
);
......@@ -213,14 +216,14 @@ const styles = StyleSheet.create({
viewTitle: {
width: getWidth(),
height: HEIGHTXD(85),
marginTop: WIDTHXD(90),
marginTop: WIDTHXD(30),
flexDirection: 'row',
justifyContent: 'center',
position: 'relative',
},
txtTitle: {
marginRight: WIDTHXD(24),
color: R.colors.black0,
color: R.colors.black,
fontSize: getFontXD(42),
},
viewContent: {
......@@ -285,10 +288,9 @@ const styles = StyleSheet.create({
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center',
paddingHorizontal: WIDTHXD(24),
paddingHorizontal: WIDTHXD(5),
},
overViewModal: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#rgba(0,0,0,0.7)',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment