mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-02-17 16:07:41 +01:00
cleanup
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -133,12 +133,6 @@ jobs:
|
||||
run:
|
||||
flutter build macos --release --obfuscate --split-debug-info=symbols --dart-define=VERIFYING_SHARED_SECRET=${{ secrets.VERIFYING_SHARED_SECRET }} --dart-define=REVENUECAT_API_KEY_IOS=${{ secrets.REVENUECAT_API_KEY_IOS }}
|
||||
|
||||
- name: Set Up Flutter Rest
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: 'stable'
|
||||
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||
|
||||
- name: Decode Keystore
|
||||
if: inputs.build_android
|
||||
run: |
|
||||
|
||||
@@ -80,10 +80,10 @@ abstract class BaseDevice {
|
||||
} else {
|
||||
// For non-long-press actions: perform a single click
|
||||
// First call performs the click action (isKeyDown: true, isKeyUp: true)
|
||||
await handleButtonsClicked(clickedButtons, longPress: false);
|
||||
await handleButtonsClicked(clickedButtons);
|
||||
// Second call cleans up state (clears timer, logs release, clears _previouslyPressedButtons)
|
||||
// but doesn't perform a release action since longPress: false
|
||||
await handleButtonsClicked([], longPress: false);
|
||||
await handleButtonsClicked([]);
|
||||
}
|
||||
} else {
|
||||
await handleButtonsClicked(clickedButtons);
|
||||
|
||||
Reference in New Issue
Block a user