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

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

+ 1
- 1
lib/main.dart View File

builder: (context, state) { builder: (context, state) {
if (state is PlotDetailInitial) { if (state is PlotDetailInitial) {
return Center( return Center(
child: Text("PlotDetailInitial"),
child: Text(""),
); );
} else if (state is PlotDetailFailure) { } else if (state is PlotDetailFailure) {
return Center( return Center(

Loading…
Cancel
Save