Skip to content

Commit

Permalink
Merge pull request #118 from EQMonitor/auto-format-dc78511
Browse files Browse the repository at this point in the history
Auto Format
  • Loading branch information
YumNumm authored Oct 10, 2022
2 parents 73eaa7f + f87458a commit b8cfb27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/provider/earthquake/eew_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import 'package:supabase_flutter/supabase_flutter.dart';

import '../../model/earthquake/eew_history_model.dart';


final eewHistoryProvider =
StateNotifierProvider<EewHistoryProvider, EewHistoryModel>((ref) {
return EewHistoryProvider();
Expand Down
3 changes: 2 additions & 1 deletion lib/provider/setting/notification_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/fcm/firebase_notification_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Future<void> initFirebaseCloudMessaging() async {
if (token != null) {
print('FCM Token: $token');
}

Future<void> subscribe() async {
// TopicをSubscribe
for (final e in Topics.values) {
Expand Down

0 comments on commit b8cfb27

Please sign in to comment.