From 89eb19fd9ec12c0f5c91190491cf186f017d0de6 Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Fri, 20 Dec 2024 15:11:38 +0900 Subject: [PATCH] Fix new lint warnings camera - Remove unnecessary 'break' statement. in_app_purchase - Remove unreachable siwtch default case. https://github.com/flutter-tizen/plugins/actions/runs/12425999862/job/34693630064 --- packages/camera/example/lib/main.dart | 1 - .../src/billing_manager_wrappers/billing_manager_wrapper.dart | 2 -- 2 files changed, 3 deletions(-) diff --git a/packages/camera/example/lib/main.dart b/packages/camera/example/lib/main.dart index 5d41c8ba3..ad28234e3 100644 --- a/packages/camera/example/lib/main.dart +++ b/packages/camera/example/lib/main.dart @@ -697,7 +697,6 @@ class _CameraExampleHomeState extends State showInSnackBar('Unknown permission error.'); default: _showCameraException(e); - break; } } diff --git a/packages/in_app_purchase/lib/src/billing_manager_wrappers/billing_manager_wrapper.dart b/packages/in_app_purchase/lib/src/billing_manager_wrappers/billing_manager_wrapper.dart index c2c891111..edf84dda7 100644 --- a/packages/in_app_purchase/lib/src/billing_manager_wrappers/billing_manager_wrapper.dart +++ b/packages/in_app_purchase/lib/src/billing_manager_wrappers/billing_manager_wrapper.dart @@ -741,8 +741,6 @@ class PurchaseStateConverter { return PurchaseStatus.purchased; case true: return PurchaseStatus.canceled; - default: - return PurchaseStatus.error; } } }