solved most pr comments and a bug

This commit is contained in:
2024-04-07 16:48:38 +02:00
parent 9803b06af1
commit d8c72a5d28
3 changed files with 55 additions and 65 deletions

View File

@ -65,9 +65,7 @@ class SortOptions {
)
};
static BetterSortOption getOption(SortOption option) {
return options[option]!;
}
static BetterSortOption getOption(SortOption option) => options[option]!;
}
class _FilesState extends State<Files> {
@ -99,7 +97,7 @@ class _FilesState extends State<Files> {
);
}
void mediaUpload(List<String>? paths) async {
Future<void> mediaUpload(List<String>? paths) async {
if(paths == null) return;
pushScreen(