loading state and error handling refactor
This commit is contained in:
@@ -254,7 +254,7 @@ class _FilesUploadDialogState extends State<FilesUploadDialog> {
|
||||
border: const UnderlineInputBorder(),
|
||||
label: Text('Datei ${index+1}'),
|
||||
errorText: currentFile.isConflicting ? 'existiert bereits' : null,
|
||||
errorStyle: const TextStyle(color: Colors.red),
|
||||
errorStyle: TextStyle(color: Theme.of(context).colorScheme.error),
|
||||
),
|
||||
onChanged: (input) {
|
||||
currentFile.fileName = input;
|
||||
|
||||
Reference in New Issue
Block a user