Skip to content

Commit

Permalink
Update packages and dart to 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaumeise03 committed Sep 15, 2024
1 parent 0821bd5 commit a911650
Show file tree
Hide file tree
Showing 6 changed files with 290 additions and 250 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ MultiRepositoryProvider buildRepositories({required Widget child}) {
return MultiRepositoryProvider(
providers: [
RepositoryProvider<ManUpService>(
create: (_) => ManUpService(
create: (_) => HttpManUpService(
kManUpUrl,
http: client,
os: Platform.operatingSystem,
Expand Down
2 changes: 1 addition & 1 deletion lib/model/ship/fitting_list_element.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import 'package:sweet/model/ship/ship_fitting_folder.dart';
import 'package:sweet/model/ship/ship_fitting_loadout.dart';

abstract class FittingListElement {
abstract mixin class FittingListElement {
String getId();
String getName();
Map<String, dynamic> toJson();
Expand Down
3 changes: 3 additions & 0 deletions lib/model/ship/ship_fitting_loadout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@ class ShipFittingLoadout extends ChangeNotifier
case SlotType.hangarRigSlots:
hangarRigSlots.modules[module.index] = fittedModule;
break;
case SlotType.implantSlots:
print("Error: Can't fit implant directly via fitItem");
break;
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/util/crash_reporting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Future<void> initializeFirebase() async {

Future<void> logEvent({
required String name,
Map<String, Object?>? parameters,
Map<String, Object>? parameters,
}) {
return FirebaseAnalytics.instance.logEvent(
name: name,
Expand Down
Loading

0 comments on commit a911650

Please sign in to comment.