From 0f8c28e54bdc68cdb3417865e6d4dda603abb8e0 Mon Sep 17 00:00:00 2001 From: nixos script Date: Wed, 22 May 2024 13:54:15 +0800 Subject: [PATCH] fix some of the dart analyzer complaints try to generate locals manually --- .github/workflows/build.yml | 1 - .github/workflows/release.yml | 1 - l10n.yaml | 6 +----- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ff23d4c..b91b33dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,6 @@ jobs: # - name: Run tests with nix (starts postgres and invidious server) # run: nix-shell --run './submodules/flutter/bin/flutter test' - run: ./submodules/flutter/bin/flutter pub run flutter_native_splash:create - - run: ./submodules/flutter/bin/flutter gen-l10n - run: ./submodules/flutter/bin/flutter build apk --profile --split-per-abi - name: Archive build artifacts uses: actions/upload-artifact@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f9196b1..8a6f8a74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,6 @@ jobs: ./submodules/flutter/bin/flutter config --no-analytics ./submodules/flutter/bin/flutter pub get ./submodules/flutter/bin/flutter pub run flutter_native_splash:create - ./submodules/flutter/bin/flutter gen-l10n ./submodules/flutter/bin/flutter build apk --split-per-abi ./submodules/flutter/bin/flutter build apk ./submodules/flutter/bin/flutter build appbundle diff --git a/l10n.yaml b/l10n.yaml index 08bcab6b..927160e8 100644 --- a/l10n.yaml +++ b/l10n.yaml @@ -1,8 +1,4 @@ arb-dir: lib/l10n template-arb-file: app_en.arb output-localization-file: app_localizations.dart -use-escaping: true -# workaround for issue: https://github.com/flutter/flutter/issues/148333 -synthetic-package: false -output-dir: lib/l10n/gen_l10n -nullable-getter: false \ No newline at end of file +use-escaping: true \ No newline at end of file