Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix remote home button

Sahil Yeole8207908d9e05
diff --git a/flutter/lib/models/file_model.dart b/flutter/lib/models/file_model.dart
index 108c76f1e..ae1d9b701 100644
--- a/flutter/lib/models/file_model.dart
+++ b/flutter/lib/models/file_model.dart
@@ -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);
}