fix bootloader device selection not hiding when uefi

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

@ -1,2 +1,3 @@
Selected disk: /dev/nvme0n1
Disks:widget /dev/sda
/dev/nvme0n1

@ -572,6 +572,19 @@ class _JadeguiState extends State<Jadegui> {
);
break;
case 6:
checkIsEfi(
(value) {
setState(() {
isEfi = value;
});
writeToLog("Is efi: $isEfi");
},
runningEfi,
() {
setState(() {
runningEfi = true;
});
});
widget = SizedBox.expand(
child: FittedBox(
fit: BoxFit.contain,
@ -665,19 +678,6 @@ class _JadeguiState extends State<Jadegui> {
);
break;
case 7:
checkIsEfi(
(value) {
setState(() {
isEfi = value;
});
writeToLog("Is efi: $isEfi");
},
runningEfi,
() {
setState(() {
runningEfi = true;
});
});
widget = SizedBox.expand(
child: FittedBox(
fit: BoxFit.contain,

Loading…
Cancel
Save