Skip to content

Commit

Permalink
Flutter 3.7.3 対応
Browse files Browse the repository at this point in the history
  • Loading branch information
hmatsu47 committed Feb 17, 2023
1 parent ea1b5f8 commit 3477371
Show file tree
Hide file tree
Showing 4 changed files with 243 additions and 126 deletions.
1 change: 1 addition & 0 deletions lib/display_symbol_info_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ class DisplaySymbolInfoPageState extends State<DisplaySymbolInfoPage> {
_pictures.add(picture!);
});
File? file = _localFile!(picture!);
if (!mounted) return;
await showDialog(
context: context,
builder: (BuildContext builderContext) {
Expand Down
1 change: 1 addition & 0 deletions lib/map_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1344,6 +1344,7 @@ ${spotData.prefMuni.prefecture}${spotData.prefMuni.municipalities}''',
return;
}
// モバイル接続中なら確認メッセージ表示
if (!mounted) return;
showDialog(
context: context,
builder: (BuildContext context) => AlertDialog(
Expand Down
1 change: 1 addition & 0 deletions lib/restore_data_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ $describe''',
本当にリストアしますか?
(既存データは上書きされます)'''
: '既存データを上書きしてもよろしいですか?');
if (!mounted) return;
showDialog(
context: context,
builder: (BuildContext context) => AlertDialog(
Expand Down
Loading

0 comments on commit 3477371

Please sign in to comment.