mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
fix globalKey / handle Windows drive fd type / add un/select all
This commit is contained in:
@@ -1031,7 +1031,9 @@ class Entry {
|
||||
|
||||
bool get isFile => entryType > 3;
|
||||
|
||||
bool get isDirectory => entryType <= 3;
|
||||
bool get isDirectory => entryType < 3;
|
||||
|
||||
bool get isDrive => entryType == 3;
|
||||
|
||||
DateTime lastModified() {
|
||||
return DateTime.fromMillisecondsSinceEpoch(modifiedTime * 1000);
|
||||
@@ -1169,6 +1171,11 @@ class SelectedItems {
|
||||
_items.clear();
|
||||
_isLocal = null;
|
||||
}
|
||||
|
||||
void selectAll(List<Entry> entries) {
|
||||
_items.clear();
|
||||
_items.addAll(entries);
|
||||
}
|
||||
}
|
||||
|
||||
// code from file_manager pkg after edit
|
||||
|
||||
Reference in New Issue
Block a user