diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 42156d6..8dde14d 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -20,8 +20,5 @@ jobs: - name: Install dependencies run: flutter pub get - - name: Analyze project source - run: flutter analyze - - name: Run tests run: flutter test diff --git a/lib/src/service/setup/hive_config.dart b/lib/src/service/setup/hive_config.dart index 0bf2cd1..e169b11 100644 --- a/lib/src/service/setup/hive_config.dart +++ b/lib/src/service/setup/hive_config.dart @@ -1,4 +1,3 @@ -import 'package:flutter/cupertino.dart'; import 'package:hive/hive.dart'; import 'package:panda_sync/src/model/request.dart'; diff --git a/lib/src/service/sync_manager.dart b/lib/src/service/sync_manager.dart index 669efee..63914be 100644 --- a/lib/src/service/sync_manager.dart +++ b/lib/src/service/sync_manager.dart @@ -24,7 +24,7 @@ class SyncManager { var request = queueManager.pop(); if (request != null) { try { - var response = await processRequest(request); + await processRequest(request); //await localStorageService.post(request.key, response); } catch (e) { // Handle error - optionally re-queue the request