Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Files/View Models/SettingsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -470,37 +470,37 @@ public string WinDirPath

public string DesktopPath
{
get => Get(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory));
get => Get(UserDataPaths.GetDefault().Desktop);
set => Set(value);
}

public string DocumentsPath
{
get => Get(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments));
get => Get(UserDataPaths.GetDefault().Documents);
set => Set(value);
}

public string DownloadsPath
{
get => Get(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + @"\Downloads");
get => Get(UserDataPaths.GetDefault().Downloads);
set => Set(value);
}

public string PicturesPath
{
get => Get(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures));
get => Get(UserDataPaths.GetDefault().Pictures);
set => Set(value);
}

public string MusicPath
{
get => Get(Environment.GetFolderPath(Environment.SpecialFolder.MyMusic));
get => Get(UserDataPaths.GetDefault().Music);
set => Set(value);
}

public string VideosPath
{
get => Get(Environment.GetFolderPath(Environment.SpecialFolder.MyVideos));
get => Get(UserDataPaths.GetDefault().Videos);
set => Set(value);
}

Expand Down