diff --git a/jade_log.txt b/jade_log.txt index 302ddb6..b098c81 100644 --- a/jade_log.txt +++ b/jade_log.txt @@ -1,2 +1,2 @@ -Hostname: host \ No newline at end of file +Is efi: true \ No newline at end of file diff --git a/lib/functions/misc.dart b/lib/functions/misc.dart index 5ba7a46..e20c434 100644 --- a/lib/functions/misc.dart +++ b/lib/functions/misc.dart @@ -91,25 +91,29 @@ Widget misc( border: Border.all(color: Colors.black45), color: const Color.fromARGB(100, 30, 30, 30), ), - child: CheckboxListTile( - title: const Text('Enable root user', - style: TextStyle(color: Colors.white)), - value: enableRoot, - onChanged: (bool? value) { - setRootUser(value!); - }, - secondary: Container( - decoration: const BoxDecoration( - shape: BoxShape.circle, - color: Colors.white, - ), - padding: const EdgeInsets.fromLTRB(10, 10, 10, 13), - child: const Text( - '#', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.bold, - color: Colors.black, + child: Tooltip( + message: + "Enables the root user, who has access to everything in the system", + child: CheckboxListTile( + title: const Text('Enable root user', + style: TextStyle(color: Colors.white)), + value: enableRoot, + onChanged: (bool? value) { + setRootUser(value!); + }, + secondary: Container( + decoration: const BoxDecoration( + shape: BoxShape.circle, + color: Colors.white, + ), + padding: const EdgeInsets.fromLTRB(10, 10, 10, 13), + child: const Text( + '#', + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.bold, + color: Colors.black, + ), ), ), ), @@ -185,25 +189,28 @@ Widget misc( border: Border.all(color: Colors.black45), color: const Color.fromARGB(100, 30, 30, 30), ), - child: CheckboxListTile( - title: const Text('Enable ipv6', - style: TextStyle(color: Colors.white)), - value: ipv6, - onChanged: (bool? value) { - setIpv6(value!); - }, - secondary: Container( - decoration: const BoxDecoration( - shape: BoxShape.circle, - color: Colors.white, - ), - padding: const EdgeInsets.fromLTRB(10, 10, 10, 13), - child: const Text( - 'v6', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.bold, - color: Colors.black, + child: Tooltip( + message: "Enables ipv6", + child: CheckboxListTile( + title: const Text('Enable ipv6', + style: TextStyle(color: Colors.white)), + value: ipv6, + onChanged: (bool? value) { + setIpv6(value!); + }, + secondary: Container( + decoration: const BoxDecoration( + shape: BoxShape.circle, + color: Colors.white, + ), + padding: const EdgeInsets.fromLTRB(10, 10, 10, 13), + child: const Text( + 'v6', + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.bold, + color: Colors.black, + ), ), ), ), @@ -217,20 +224,25 @@ Widget misc( border: Border.all(color: Colors.black45), color: const Color.fromARGB(100, 30, 30, 30), ), - child: CheckboxListTile( - title: const Text('Enable timeshift', - style: TextStyle(color: Colors.white)), - value: timeshift, - onChanged: (bool? value) { - setTimeshift(value!); - }, - secondary: Container( - decoration: const BoxDecoration( - shape: BoxShape.circle, - color: Colors.white, + child: Tooltip( + message: + "Enables timeshift to automatically make backups", + child: CheckboxListTile( + title: const Text('Enable timeshift', + style: TextStyle(color: Colors.white)), + value: timeshift, + onChanged: (bool? value) { + setTimeshift(value!); + }, + secondary: Container( + decoration: const BoxDecoration( + shape: BoxShape.circle, + color: Colors.white, + ), + padding: const EdgeInsets.fromLTRB(10, 10, 10, 13), + child: + const Icon(Icons.restore, color: Colors.black), ), - padding: const EdgeInsets.fromLTRB(10, 10, 10, 13), - child: const Icon(Icons.restore, color: Colors.black), ), ), ), diff --git a/lib/functions/users.dart b/lib/functions/users.dart index 9d4517d..616d507 100644 --- a/lib/functions/users.dart +++ b/lib/functions/users.dart @@ -151,25 +151,29 @@ Widget users(setState, enableSudo, setPass, setConfirmPass, clearPass, border: Border.all(color: Colors.black45), color: const Color.fromARGB(100, 30, 30, 30), ), - child: CheckboxListTile( - title: const Text('Enable sudo for user', - style: TextStyle(color: Colors.white)), - value: enableSudo, - onChanged: (bool? value) { - setState(value!); - }, - secondary: Container( - decoration: const BoxDecoration( - shape: BoxShape.circle, - color: Colors.white, - ), - padding: const EdgeInsets.fromLTRB(10, 10, 10, 13), - child: const Text( - '#', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.bold, - color: Colors.black, + child: Tooltip( + message: + 'Allows the user to gain root access using sudo', + child: CheckboxListTile( + title: const Text('Enable sudo for user', + style: TextStyle(color: Colors.white)), + value: enableSudo, + onChanged: (bool? value) { + setState(value!); + }, + secondary: Container( + decoration: const BoxDecoration( + shape: BoxShape.circle, + color: Colors.white, + ), + padding: const EdgeInsets.fromLTRB(10, 10, 10, 13), + child: const Text( + '#', + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.bold, + color: Colors.black, + ), ), ), ),