fix option to select bootloader for legacy

pull/2/head
axtlos 3 years ago
parent ee68605e7e
commit 617ad923d2
No known key found for this signature in database
GPG Key ID: A468AFD71DD51D4A

@ -219,7 +219,7 @@ Widget manualPartitioning(
), ),
), ),
Visibility( Visibility(
visible: efi, visible: !efi,
child: const Text( child: const Text(
'Bootloader Device:', 'Bootloader Device:',
style: TextStyle( style: TextStyle(
@ -231,7 +231,7 @@ Widget manualPartitioning(
), ),
const SizedBox(height: 6), const SizedBox(height: 6),
Visibility( Visibility(
visible: efi, visible: !efi,
child: Container( child: Container(
padding: const EdgeInsets.fromLTRB(5, 2, 2, 5), padding: const EdgeInsets.fromLTRB(5, 2, 2, 5),
decoration: BoxDecoration( decoration: BoxDecoration(

@ -647,6 +647,9 @@ class _JadeguiState extends State<Jadegui> {
partition.mountpoint = value; partition.mountpoint = value;
print("moutnpoint: ${partition.mountpoint}"); print("moutnpoint: ${partition.mountpoint}");
print("partition: ${partition.partition}"); print("partition: ${partition.partition}");
if (value == "/boot/efi") {
partition.type = "vfat";
}
}); });
}, },
(partition, value) { (partition, value) {

Loading…
Cancel
Save