diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-10-13 16:11:31 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-10-13 16:11:31 +0300 |
commit | 07150b61d3593fc9ad764a7884e50a5190178e1b (patch) | |
tree | 7ffea1ef93165cbefe47bbf06181b62b20be155c /lib/main.dart | |
parent | 6f176a8545278424add9167ad616dc2f2037c2cb (diff) |
Functional Project State
Changes to be committed:
modified: .metadata
modified: android/app/build.gradle
renamed: android/app/src/main/kotlin/com/example/yolo/MainActivity.kt -> android/app/src/main/kotlin/com/example/yoloo/MainActivity.kt
new file: android/app/src/main/res/AndroidManifest.xml
deleted: android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
modified: android/app/src/main/res/mipmap-hdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-mdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
deleted: android/app/src/main/res/values/colors.xml
modified: ios/Runner/Info.plist
modified: lib/main.dart
modified: pubspec.lock
modified: pubspec.yaml
Diffstat (limited to 'lib/main.dart')
-rw-r--r-- | lib/main.dart | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/main.dart b/lib/main.dart index 46d76b8..173a152 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -92,7 +92,7 @@ class _MainScreenState extends State<MainScreen> with WidgetsBindingObserver { void dispose() { WidgetsBinding.instance.removeObserver(this); _stopCamera(); - textRecognizer.close(); + textRecognizer.close(); // OCR Stop flutterTts.stop(); // TTS Stop vision.closeYoloModel(); // YOLO Stop super.dispose(); @@ -137,6 +137,7 @@ class _MainScreenState extends State<MainScreen> with WidgetsBindingObserver { appBar: AppBar( backgroundColor: Theme.of(context).colorScheme.inversePrimary, title: const Text('MegaView'), + centerTitle: true, ), backgroundColor: _isPermissionGranted ? Colors.transparent : null, body: _isPermissionGranted |