fix: Fix minor things

This commit is contained in:
PapaTutuWawa 2023-07-21 19:15:13 +02:00
parent 3cd615aa3e
commit 2486d846e8
4 changed files with 4 additions and 4 deletions

View File

@ -0,0 +1 @@
pubspec_overrides.yaml

View File

@ -1,4 +1,3 @@
import 'dart:typed_data';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:moxplatform_platform_interface/moxplatform_platform_interface.dart'; import 'package:moxplatform_platform_interface/moxplatform_platform_interface.dart';

View File

@ -34,7 +34,7 @@ class AndroidBackgroundService extends BackgroundService {
event, event,
); );
// NOTE: *S*erver to *F*oreground // NOTE: *S*erver to *F*oreground
_log.fine('S2F: ${data.toJson().toString()}'); _log.fine('S2F: ${data.toJson()}');
channel.invokeMethod<void>('sendData', jsonEncode(data.toJson())); channel.invokeMethod<void>('sendData', jsonEncode(data.toJson()));
} }

View File

@ -5,7 +5,7 @@ homepage: https://codeberg.org/moxxy/moxplatform
publish_to: https://git.polynom.me/api/packages/Moxxy/pub publish_to: https://git.polynom.me/api/packages/Moxxy/pub
environment: environment:
sdk: ">=2.17.0 <3.0.0" sdk: ">=2.17.0 <4.0.0"
flutter: ">=2.10.0" flutter: ">=2.10.0"
flutter: flutter:
@ -41,4 +41,4 @@ dependencies:
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
very_good_analysis: ^3.0.1 very_good_analysis: ^3.0.1