From 07b2a656fc43ed5c4f7fa9c918ed5e4e7b3181e1 Mon Sep 17 00:00:00 2001 From: kodjodevf <107993382+kodjodevf@users.noreply.github.com> Date: Mon, 3 Apr 2023 12:52:30 +0100 Subject: [PATCH] add first screens --- .vscode/settings.json | 3 + android/app/build.gradle | 2 +- android/app/src/debug/AndroidManifest.xml | 2 +- android/app/src/main/AndroidManifest.xml | 2 +- .../mangayomi/MainActivity.kt | 2 +- android/app/src/profile/AndroidManifest.xml | 2 +- ios/Runner.xcodeproj/project.pbxproj | 6 +- lib/main.dart | 115 ++------------- lib/router/router.dart | 85 ++++++++++++ lib/utils/media_query.dart | 9 ++ lib/views/browse/browse_screen.dart | 10 ++ lib/views/general/general_screen.dart | 131 ++++++++++++++++++ .../general/scroll_controller_provider.dart | 5 + lib/views/history/history_screen.dart | 10 ++ lib/views/library/library_screen.dart | 10 ++ lib/views/more/more_screen.dart | 10 ++ lib/views/updates/updates_screen.dart | 10 ++ linux/CMakeLists.txt | 2 +- macos/Runner/Configs/AppInfo.xcconfig | 2 +- pubspec.lock | 54 ++++++++ pubspec.yaml | 3 + 21 files changed, 362 insertions(+), 113 deletions(-) create mode 100644 .vscode/settings.json rename android/app/src/main/kotlin/com/{example => kodjodevf}/mangayomi/MainActivity.kt (75%) create mode 100644 lib/router/router.dart create mode 100644 lib/utils/media_query.dart create mode 100644 lib/views/browse/browse_screen.dart create mode 100644 lib/views/general/general_screen.dart create mode 100644 lib/views/general/scroll_controller_provider.dart create mode 100644 lib/views/history/history_screen.dart create mode 100644 lib/views/library/library_screen.dart create mode 100644 lib/views/more/more_screen.dart create mode 100644 lib/views/updates/updates_screen.dart diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..c5f3f6b9 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "interactive" +} \ No newline at end of file diff --git a/android/app/build.gradle b/android/app/build.gradle index 8a5b2c37..8b561bcc 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -44,7 +44,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.mangayomi" + applicationId "com.kodjodevf.mangayomi" // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. minSdkVersion flutter.minSdkVersion diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml index efbe210a..c240e515 100644 --- a/android/app/src/debug/AndroidManifest.xml +++ b/android/app/src/debug/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.kodjodevf.mangayomi">