Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YumNumm committed Jan 1, 2024
1 parent 33d5118 commit 34d94a8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ class EarthquakeHistoryTileWidget extends ConsumerWidget {
case _:
body.write('深さ${item.earthquake.earthquake!.hypocenter.depth}km');
}
} else {
// 受信時刻
body.write(
DateFormat('yyyy/MM/dd HH:mm頃 発表')
.format(item.telegrams.first.pressTime.toLocal()),
);
}
var trailing = '';
if (item.earthquake.isVolcano) {
Expand Down

0 comments on commit 34d94a8

Please sign in to comment.