From 81369445b304fa97951a2c22a19fd733f61646b3 Mon Sep 17 00:00:00 2001 From: Neeraj Date: Wed, 29 Jul 2026 19:38:58 +0530 Subject: [PATCH 1/2] Version bump --- .github/workflows/flutter-build.yml | 2 ++ .github/workflows/pr.yaml | 14 ++++++++++++++ pubspec.yaml | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pr.yaml diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml index 9c38236..8cbcbb2 100644 --- a/.github/workflows/flutter-build.yml +++ b/.github/workflows/flutter-build.yml @@ -8,6 +8,8 @@ on: - "pubspec.yaml" pull_request: branches: ["main"] + paths: + - '.github/**' workflow_dispatch: permissions: diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml new file mode 100644 index 0000000..40321e2 --- /dev/null +++ b/.github/workflows/pr.yaml @@ -0,0 +1,14 @@ +name: PR checks +on: pull_request + +jobs: + verify: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: subosito/flutter-action@v2 + with: { channel: stable, cache: true } + - run: flutter pub get + - run: flutter analyze --fatal-infos + #- run: flutter test --coverage + - run: flutter build web --release --no-tree-shake-icons diff --git a/pubspec.yaml b/pubspec.yaml index 749fda6..e406903 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 2.9.2+1104 +version: 2.9.3+1105 homepage: https://github.com/homebackend/netr/ repository: https://github.com/homebackend/netr/ From 49864de5d5f2d5ee54ef65c575e8f2489b04ce7f Mon Sep 17 00:00:00 2001 From: Neeraj Date: Wed, 29 Jul 2026 20:06:01 +0530 Subject: [PATCH 2/2] Fix flutter analyze issues --- lib/tool.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tool.dart b/lib/tool.dart index 9ac70ea..389fc94 100644 --- a/lib/tool.dart +++ b/lib/tool.dart @@ -73,7 +73,7 @@ void showAlertDialog(BuildContext context, String message, [int duration = 5]) { barrierDismissible: false, builder: (context) { Future.delayed(Duration(seconds: duration), () { - Navigator.of(context).pop(true); + if (context.mounted) Navigator.of(context).pop(true); }); return AlertDialog(