Skip to content

Commit cf75a80

Browse files
committed
show online service address instead of <online>
1 parent 694924f commit cf75a80

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

AvaGui/ViewModels/FolderTreeViewModel.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ public class FolderTreeViewModel : ReactiveObject
2222

2323
[Reactive]
2424
public string CurrentLocalDirectory { get; set; } = string.Empty;
25-
public string CurrentDirectory => SelectedTabIndex == 0 ? CurrentLocalDirectory : "<online>";
25+
public string CurrentDirectory => SelectedTabIndex == 0
26+
? CurrentLocalDirectory
27+
: Model.Settings.UseHttps
28+
? Model.Settings.ServerAddressHttps
29+
: Model.Settings.ServerAddressHttp;
2630

2731
[Reactive]
2832
public FileSystemItemBase? CurrentlySelectedObject { get; set; }

0 commit comments

Comments
 (0)