fix remote home button
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
parent
e08da096dd
commit
8207908d9e
@ -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…
x
Reference in New Issue
Block a user