Added option to show folders always on top in files
This commit is contained in:
13
lib/storage/file/fileSettings.dart
Normal file
13
lib/storage/file/fileSettings.dart
Normal file
@ -0,0 +1,13 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'fileSettings.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class FileSettings {
|
||||
bool sortFoldersToTop;
|
||||
|
||||
FileSettings({required this.sortFoldersToTop});
|
||||
|
||||
factory FileSettings.fromJson(Map<String, dynamic> json) => _$FileSettingsFromJson(json);
|
||||
Map<String, dynamic> toJson() => _$FileSettingsToJson(this);
|
||||
}
|
Reference in New Issue
Block a user