1
1
import 'package:at_wavi_app/common_components/provider_callback.dart' ;
2
- import 'package:at_wavi_app/desktop/screens/desktop_edit_profile/desktop_edit_profile_model.dart' ;
3
2
import 'package:at_wavi_app/desktop/screens/desktop_location/desktop_location_preview_page.dart' ;
4
3
import 'package:at_wavi_app/desktop/screens/desktop_user_profile/desktop_user_profile_page.dart' ;
5
4
import 'package:at_wavi_app/desktop/services/theme/app_theme.dart' ;
@@ -469,7 +468,7 @@ class _DesktopProfileBasicInfoPageState
469
468
}
470
469
471
470
void _showAddDetailPopup () async {
472
- final result = await showDialog <String >(
471
+ await showDialog <String >(
473
472
context: context,
474
473
builder: (BuildContext context) => Dialog (
475
474
backgroundColor: Colors .transparent,
@@ -489,7 +488,7 @@ class _DesktopProfileBasicInfoPageState
489
488
}
490
489
491
490
void _showAddCustomContent () async {
492
- final result = await showDialog <String >(
491
+ await showDialog <String >(
493
492
context: context,
494
493
builder: (BuildContext context) => Dialog (
495
494
backgroundColor: Colors .transparent,
@@ -501,7 +500,7 @@ class _DesktopProfileBasicInfoPageState
501
500
}
502
501
503
502
void _showEditCustomContent (BasicData data) async {
504
- final result = await showDialog <String >(
503
+ await showDialog <String >(
505
504
context: context,
506
505
builder: (BuildContext context) => Dialog (
507
506
backgroundColor: Colors .transparent,
@@ -519,7 +518,7 @@ class _DesktopProfileBasicInfoPageState
519
518
BasicData ? location,
520
519
BasicData ? locationNickname,
521
520
}) async {
522
- final result = await showDialog <String >(
521
+ await showDialog <String >(
523
522
context: context,
524
523
builder: (BuildContext context) => Dialog (
525
524
backgroundColor: Colors .transparent,
@@ -534,7 +533,7 @@ class _DesktopProfileBasicInfoPageState
534
533
}
535
534
536
535
void _showReorderDetailPopup () async {
537
- final result = await showDialog <List <String >>(
536
+ await showDialog <List <String >>(
538
537
context: context,
539
538
builder: (BuildContext context) => Dialog (
540
539
backgroundColor: Colors .transparent,
@@ -563,7 +562,7 @@ class _DesktopProfileBasicInfoPageState
563
562
);
564
563
} else if ((title ?? '' ).isNotEmpty) {
565
564
try {
566
- launch ( 'https://www.google.com/maps/place/$title ' );
565
+ launchUrl ( Uri . parse ( 'https://www.google.com/maps/place/$title ' ) );
567
566
} catch (e) {}
568
567
}
569
568
}
0 commit comments