mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:12:20 +08:00
Merge pull request #6093 from sahilyeole/fix/remote_home_button
Fix remote home button in file transfer
This commit is contained in:
commit
807dc7d220
@ -261,6 +261,7 @@ class FileController {
|
||||
required this.getOtherSideDirectoryData});
|
||||
|
||||
String get homePath => options.value.home;
|
||||
void set homePath(String path) => options.value.home = path;
|
||||
OverlayDialogManager? get dialogManager => rootState.target?.dialogManager;
|
||||
|
||||
String get shortPath {
|
||||
@ -376,6 +377,11 @@ class FileController {
|
||||
}
|
||||
|
||||
void goToHomeDirectory() {
|
||||
if (isLocal) {
|
||||
openDirectory(homePath);
|
||||
return;
|
||||
}
|
||||
homePath = "";
|
||||
openDirectory(homePath);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user