Skip to content

Commit

Permalink
Updated dependencies versions + lints
Browse files Browse the repository at this point in the history
  • Loading branch information
vodemn committed May 19, 2023
1 parent 749f2be commit 00b2728
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
3 changes: 2 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ linter:

analyzer:
exclude:
- "**/generated/**"
- "**/generated/**"
- lib/firebase_options.dart
2 changes: 0 additions & 2 deletions lib/providers/ev_source_type_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ class EvSourceTypeProviderState extends State<EvSourceTypeProvider> {
if (context.read<Environment>().hasLightSensor) {
valueListenable.value = EvSourceType.sensor;
}
break;
case EvSourceType.sensor:
valueListenable.value = EvSourceType.camera;
break;
}
context.read<UserPreferencesService>().evSourceType = valueListenable.value;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,10 @@ class CameraContainerBloc extends EvSourceBlocBase<CameraContainerEvent, CameraC
switch (state) {
case AppLifecycleState.resumed:
add(const InitializeEvent());
break;
case AppLifecycleState.paused:
case AppLifecycleState.detached:
_cameraController?.dispose();
_cameraController = null;
break;
default:
}
}
Expand Down
22 changes: 11 additions & 11 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ environment:

dependencies:
app_settings: 4.2.0
camera: 0.10.0+4
camera: 0.10.5
clipboard: 0.1.3
dynamic_color: 1.5.4
exif: 3.1.2
firebase_core: 2.11.0
firebase_crashlytics: 3.2.0
dynamic_color: 1.6.5
exif: 3.1.4
firebase_core: 2.13.0
firebase_crashlytics: 3.3.1
flutter:
sdk: flutter
flutter_bloc: 8.1.1
flutter_bloc: 8.1.2
flutter_localizations:
sdk: flutter
intl: 0.18.0
Expand All @@ -27,19 +27,19 @@ dependencies:
url: "https://github.com/vodemn/m3_lightmeter_resources"
ref: main
material_color_utilities: 0.2.0
package_info_plus: 4.0.0
package_info_plus: 4.0.1
permission_handler: 10.2.0
provider: 6.0.4
shared_preferences: 2.0.15
url_launcher: 6.1.8
shared_preferences: 2.1.1
url_launcher: 6.1.11
uuid: 3.0.7
vibration: 1.7.6
vibration: 1.7.7

dev_dependencies:
flutter_launcher_icons: 0.11.0
flutter_native_splash: 2.2.16
google_fonts: 3.0.1
lint: 2.1.1
lint: 2.1.2
test: 1.24.1

flutter:
Expand Down

0 comments on commit 00b2728

Please sign in to comment.