@@ -31,67 +31,70 @@ class MyPageScreen extends StatelessWidget {
3131 style: Theme .of (context).textTheme.titleLarge),
3232 backgroundColor: Theme .of (context).colorScheme.surface,
3333 ),
34- body: Column (
35- spacing: 12 ,
36- children: [
37- _FrameView (
38- title: AppLocalizations .of (context)! .myAccount,
39- child: _MyAccountView ()),
40- const _FrameView (
41- title: '알람 설정' ,
42- child: _AlarmStatusView (),
43- ),
44- _FrameView (
45- title: AppLocalizations .of (context)! .accountSettings,
46- child: Column (
47- spacing: 25 ,
48- children: [
49- _SettingTile (
50- title: AppLocalizations .of (context)! .logOut,
51- onTap: () async {
52- await showLogoutModal (context);
53- },
54- ),
55- _SettingTile (
56- title: AppLocalizations .of (context)! .deleteAccount,
57- onTap: () async {
58- final deleteUserModal = DeleteUserModal ();
59- await deleteUserModal.showDeleteUserModal (
60- context,
61- onConfirm: () {
62- if (context.mounted) {
63- context.go ('/signIn' );
64- }
65- },
66- );
67- },
68- ),
69- ],
34+ body: SingleChildScrollView (
35+ child: Column (
36+ spacing: 12 ,
37+ children: [
38+ _FrameView (
39+ title: AppLocalizations .of (context)! .myAccount,
40+ child: _MyAccountView ()),
41+ const _FrameView (
42+ title: '알람 설정' ,
43+ child: _AlarmStatusView (),
7044 ),
71- ),
72- _FrameView (
73- title: AppLocalizations .of (context)! .appSettings,
74- child: Column (
75- spacing: 25 ,
76- children: [
77- _SettingTile (
78- title: AppLocalizations .of (context)! .editDefaultPreparation,
79- onTap: () async {
80- final PreparationEntity ? updatedPreparation =
81- await context.push ('/defaultPreparationSpareTimeEdit' );
82- if (updatedPreparation != null ) {}
83- },
84- ),
85- _SettingTile (
86- title: AppLocalizations .of (context)! .allowAppNotifications,
87- onTap: () async {
88- await _handleNotificationPermission (context);
89- },
90- ),
91- ],
45+ _FrameView (
46+ title: AppLocalizations .of (context)! .accountSettings,
47+ child: Column (
48+ spacing: 25 ,
49+ children: [
50+ _SettingTile (
51+ title: AppLocalizations .of (context)! .logOut,
52+ onTap: () async {
53+ await showLogoutModal (context);
54+ },
55+ ),
56+ _SettingTile (
57+ title: AppLocalizations .of (context)! .deleteAccount,
58+ onTap: () async {
59+ final deleteUserModal = DeleteUserModal ();
60+ await deleteUserModal.showDeleteUserModal (
61+ context,
62+ onConfirm: () {
63+ if (context.mounted) {
64+ context.go ('/signIn' );
65+ }
66+ },
67+ );
68+ },
69+ ),
70+ ],
71+ ),
9272 ),
93- ),
94- ],
73+ _FrameView (
74+ title: AppLocalizations .of (context)! .appSettings,
75+ child: Column (
76+ spacing: 25 ,
77+ children: [
78+ _SettingTile (
79+ title: AppLocalizations .of (context)! .editDefaultPreparation,
80+ onTap: () async {
81+ final PreparationEntity ? updatedPreparation =
82+ await context
83+ .push ('/defaultPreparationSpareTimeEdit' );
84+ if (updatedPreparation != null ) {}
85+ },
86+ ),
87+ _SettingTile (
88+ title: AppLocalizations .of (context)! .allowAppNotifications,
89+ onTap: () async {
90+ await _handleNotificationPermission (context);
91+ },
92+ ),
93+ ],
94+ ),
95+ ),
96+ ],
97+ ),
9598 ),
9699 );
97100 }
0 commit comments