From ee826ab86bda173ff0879f5392890ca28875bd7d Mon Sep 17 00:00:00 2001 From: YumNumm Date: Mon, 10 Oct 2022 01:12:43 +0000 Subject: [PATCH] auto format --- lib/provider/earthquake/eew_controller.dart | 1 - lib/provider/setting/notification_settings.dart | 3 ++- lib/utils/fcm/firebase_notification_controller.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/provider/earthquake/eew_controller.dart b/lib/provider/earthquake/eew_controller.dart index 9097c149b..91d3265c1 100644 --- a/lib/provider/earthquake/eew_controller.dart +++ b/lib/provider/earthquake/eew_controller.dart @@ -37,7 +37,6 @@ import 'package:supabase_flutter/supabase_flutter.dart'; import '../../model/earthquake/eew_history_model.dart'; - final eewHistoryProvider = StateNotifierProvider((ref) { return EewHistoryProvider(); diff --git a/lib/provider/setting/notification_settings.dart b/lib/provider/setting/notification_settings.dart index 289475943..b6b0cb870 100644 --- a/lib/provider/setting/notification_settings.dart +++ b/lib/provider/setting/notification_settings.dart @@ -32,7 +32,8 @@ class NotificationSettingsNotifier void toggleUseTts() => state = state.copyWith(useTts: !state.useTts); /// 精度の低いEEW通知の使用を切り替える - void toggleLowPrecision() => state = state.copyWith(lowPrecision: !state.lowPrecision); + void toggleLowPrecision() => + state = state.copyWith(lowPrecision: !state.lowPrecision); /// 予想最大震度の閾値を設定 void setIntensityThreshold(JmaIntensity intensity) { diff --git a/lib/utils/fcm/firebase_notification_controller.dart b/lib/utils/fcm/firebase_notification_controller.dart index 9ea66b401..bc45b86eb 100644 --- a/lib/utils/fcm/firebase_notification_controller.dart +++ b/lib/utils/fcm/firebase_notification_controller.dart @@ -35,7 +35,7 @@ Future initFirebaseCloudMessaging() async { if (token != null) { print('FCM Token: $token'); } - + Future subscribe() async { // TopicをSubscribe for (final e in Topics.values) {