Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Profile/settings folder location changed to "My Documents" #1984

Merged
merged 6 commits into from
Mar 5, 2023
Merged
Show file tree
Hide file tree
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

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public sealed class IsProfilesLocationToBooleanConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value as string == ProfileManager.GetProfilesLocation();
return value as string == ProfileManager.GetProfilesFolderLocation();
}

public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public sealed class IsSettingsLocationToBooleanConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value as string == SettingsManager.GetSettingsLocation();
return value as string == SettingsManager.GetSettingsFolderLocation();
}

public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Expand Down
3 changes: 1 addition & 2 deletions Source/NETworkManager.Localization/LocalizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ public class LocalizationManager
/// <returns>Instance of the class.</returns>
public static LocalizationManager GetInstance(string cultureCode = _defaultCultureCode)
{
if (_instance == null)
_instance = new LocalizationManager(cultureCode);
_instance ??= new LocalizationManager(cultureCode);

return _instance;
}
Expand Down
134 changes: 5 additions & 129 deletions Source/NETworkManager.Localization/Resources/Strings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading