This commit is contained in:
amirrezaghabeli
2025-08-18 10:19:05 +03:30
parent c6e77e5337
commit 4874153488
7 changed files with 62 additions and 33 deletions
+17 -3
View File
@@ -102,9 +102,23 @@ class _MobileProfilePageState extends State<MobileProfilePage> {
),
child: const ThemeToggle(),
),
ElevatedButton(
onPressed: () => viewModel.logout(),
child: const Text('Logout'),
// ElevatedButton(
// onPressed: () => viewModel.logout(),
// child: const Text('Logout'),
// ),
SizedBox(height: 24.0.h()),
InkWell(
onTap: () => viewModel.logout(),
child: Container(
width: double.infinity,
height: 45.0.h(),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(8),
border: Border.all(color: AppColors.borderColor),
),
alignment: Alignment.center,
child: Text('Logout'),
),
),
],
),