From f6ced60ec50a07b0a20fed65d641528440d01d1a Mon Sep 17 00:00:00 2001 From: axtlos Date: Sat, 30 Apr 2022 15:26:31 +0200 Subject: [PATCH] get rid of warnings/infos --- lib/functions/partitioning/manual.dart | 4 ---- lib/functions/users.dart | 1 - 2 files changed, 5 deletions(-) diff --git a/lib/functions/partitioning/manual.dart b/lib/functions/partitioning/manual.dart index 7217769..d8d087b 100644 --- a/lib/functions/partitioning/manual.dart +++ b/lib/functions/partitioning/manual.dart @@ -1,7 +1,6 @@ import 'dart:async'; import 'dart:io'; import 'package:flutter/material.dart'; -import 'package:jade_gui/classes/partition.dart'; import 'package:jade_gui/functions/partitioning/auto.dart'; Future launchGparted() async { @@ -49,7 +48,6 @@ Widget partitionTemplate(partition, runningInfo, setRunningInfo, mountpoints, onChanged: (String? newValue) { setPartitionMountpoint( partition(), newValue == "" ? "none" : newValue); - print(partition().mountpoint); }, items: mountpoints.map>((String value) { @@ -74,7 +72,6 @@ Widget partitionTemplate(partition, runningInfo, setRunningInfo, mountpoints, onChanged: (String? newValue) { setFilesystem( partition(), newValue == "" ? "none" : newValue); - print(partition().filesystem); }, items: filesystems.map>((String value) { @@ -260,7 +257,6 @@ Widget manualPartitioning( ), onChanged: (String? newValue) { setPartition(newValue!); - print(disk); }, items: disks .split('\n') diff --git a/lib/functions/users.dart b/lib/functions/users.dart index 616d507..669888d 100644 --- a/lib/functions/users.dart +++ b/lib/functions/users.dart @@ -1,5 +1,4 @@ import 'package:flutter/material.dart'; -import 'dart:io'; final _formKey = GlobalKey(); RegExp userRegex = RegExp(r'^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\$)$');