From 30aa5b33a37a2302a3bc5fb1c1ccfbbb779c6f63 Mon Sep 17 00:00:00 2001 From: Jonas Bark Date: Wed, 1 Oct 2025 15:41:44 +0200 Subject: [PATCH] fix issue #81 --- .github/workflows/build.yml | 3 ++- lib/pages/device.dart | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad2836f..fd30bcb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -160,7 +160,8 @@ jobs: - name: Upload to Play Store # only upload when env.VERSION does not end with 1337, which is our indicator for beta releases - if: "!endsWith(env.VERSION, '1337')" + #if: "!endsWith(env.VERSION, '1337')" + if: false uses: r0adkll/upload-google-play@v1 with: serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} diff --git a/lib/pages/device.dart b/lib/pages/device.dart index 9c33d34..937ce0e 100644 --- a/lib/pages/device.dart +++ b/lib/pages/device.dart @@ -201,7 +201,8 @@ ${it.firmwareVersion != null ? ' - Firmware Version: ${it.firmwareVersion}' : '' setState(() {}); }, ), - if (connection.devices.any((device) => (device is ZwiftClickV2) && device.isConnected)) + if (kDebugMode && + connection.devices.any((device) => (device is ZwiftClickV2) && device.isConnected)) ElevatedButton( onPressed: () { (connection.devices.first as ZwiftClickV2).test();