changes
This commit is contained in:
@@ -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'),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user