remove wrap from settings

This commit is contained in:
2025-06-06 12:26:47 +02:00
parent 42cc4f62ab
commit 2cd074f230

View File

@@ -118,34 +118,26 @@ class _MihPersonalSettingsState extends State<MihPersonalSettings> {
), ),
), ),
const SizedBox(height: 10.0), const SizedBox(height: 10.0),
Wrap(
spacing: 10,
runSpacing: 10,
alignment: WrapAlignment.center,
crossAxisAlignment: WrapCrossAlignment.center,
children: [
Text( Text(
"Would you like to delete your MIH account?", "Would you like to delete your MIH account?",
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle( style: TextStyle(
fontSize: 18, fontSize: 18,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
), ),
), ),
const SizedBox(height: 10.0),
MihButton( MihButton(
onPressed: () { onPressed: () {
deleteAccountPopUp(context); deleteAccountPopUp(context);
}, },
buttonColor: buttonColor: MzanziInnovationHub.of(context)!.theme.errorColor(),
MzanziInnovationHub.of(context)!.theme.errorColor(),
width: 300, width: 300,
child: Text( child: Text(
"Delete Account", "Delete Account",
style: TextStyle( style: TextStyle(
color: color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
MzanziInnovationHub.of(context)!.theme.primaryColor(),
fontSize: 20, fontSize: 20,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
@@ -153,8 +145,6 @@ class _MihPersonalSettingsState extends State<MihPersonalSettings> {
), ),
], ],
), ),
],
),
); );
} }
} }