diff --git a/lib/functions/partitioning/manual.dart b/lib/functions/partitioning/manual.dart index 827bc3c..c68909e 100644 --- a/lib/functions/partitioning/manual.dart +++ b/lib/functions/partitioning/manual.dart @@ -219,7 +219,7 @@ Widget manualPartitioning( ), ), Visibility( - visible: efi, + visible: !efi, child: const Text( 'Bootloader Device:', style: TextStyle( @@ -231,7 +231,7 @@ Widget manualPartitioning( ), const SizedBox(height: 6), Visibility( - visible: efi, + visible: !efi, child: Container( padding: const EdgeInsets.fromLTRB(5, 2, 2, 5), decoration: BoxDecoration( diff --git a/lib/main.dart b/lib/main.dart index e2dc7ec..5109ae3 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -647,6 +647,9 @@ class _JadeguiState extends State { partition.mountpoint = value; print("moutnpoint: ${partition.mountpoint}"); print("partition: ${partition.partition}"); + if (value == "/boot/efi") { + partition.type = "vfat"; + } }); }, (partition, value) {