Browse Source

Fix formatting

yiffed
Inex Code 7 months ago
parent
commit
88006d50fe
  1. 15
      lib/utils/database/cipher_db.dart
  2. 4
      lib/utils/firebase_controller.dart

15
lib/utils/database/cipher_db.dart

@ -89,19 +89,24 @@ class _VmEncryptedDelegate extends DatabaseDelegate {
FutureOr<bool> get isOpen => delegate.isOpen;
@override
Future<void> runBatched(BatchedStatements statements) => delegate.runBatched(statements);
Future<void> runBatched(BatchedStatements statements) =>
delegate.runBatched(statements);
@override
Future<void> runCustom(String statement, List args) => delegate.runCustom(statement, args);
Future<void> runCustom(String statement, List args) =>
delegate.runCustom(statement, args);
@override
Future<int> runInsert(String statement, List args) => delegate.runInsert(statement, args);
Future<int> runInsert(String statement, List args) =>
delegate.runInsert(statement, args);
@override
Future<QueryResult> runSelect(String statement, List args) => delegate.runSelect(statement, args);
Future<QueryResult> runSelect(String statement, List args) =>
delegate.runSelect(statement, args);
@override
Future<int> runUpdate(String statement, List args) => delegate.runUpdate(statement, args);
Future<int> runUpdate(String statement, List args) =>
delegate.runUpdate(statement, args);
@override
TransactionDelegate get transactionDelegate => delegate.transactionDelegate;

4
lib/utils/firebase_controller.dart

@ -127,8 +127,8 @@ abstract class FirebaseController {
// initialise the plugin. app_icon needs to be a added as a drawable resource to the Android head project
var initializationSettingsAndroid =
AndroidInitializationSettings('notifications_icon');
var initializationSettingsIOS =
IOSInitializationSettings(onDidReceiveLocalNotification: (i, a, b, c) => null);
var initializationSettingsIOS = IOSInitializationSettings(
onDidReceiveLocalNotification: (i, a, b, c) => null);
var initializationSettings = InitializationSettings(
android: initializationSettingsAndroid, iOS: initializationSettingsIOS);
await _flutterLocalNotificationsPlugin.initialize(initializationSettings,

Loading…
Cancel
Save