Browse Source

fix hide title scan barcode Bug #7346

master
daivph 5 years ago
parent
commit
d2fa3818bc
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      android/app/src/main/AndroidManifest.xml
  2. +1
    -1
      lib/main.dart

+ 2
- 1
android/app/src/main/AndroidManifest.xml View File

@@ -11,11 +11,12 @@
<uses-permission android:name="android.permission.CAMERA" />
<application
android:name=".Application"
android:label="farm_tpf"
android:label="Quét mã QR"
android:icon="@mipmap/ic_launcher"
android:requestLegacyExternalStorage="true">
<activity
android:name=".MainActivity"
android:label="Tiên Phong Farm"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

+ 1
- 1
lib/main.dart View File

@@ -87,7 +87,7 @@ _showAlertCheckCropCode(BuildContext context, String cropCode) {
builder: (context, state) {
if (state is PlotDetailInitial) {
return Center(
child: Text("PlotDetailInitial"),
child: Text(""),
);
} else if (state is PlotDetailFailure) {
return Center(

Loading…
Cancel
Save