We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ece30a commit 6baf7cfCopy full SHA for 6baf7cf
src/Files.App/ViewModels/Settings/AppearanceViewModel.cs
@@ -125,13 +125,13 @@ private void UpdateSelectedResource()
125
if (!AppThemeResources.Any(p => p.BackgroundColor == themeBackgroundColor))
126
{
127
// Remove current value before adding a new one
128
- if (AppThemeResources.Last().Name == "Custom")
+ if (AppThemeResources.Last().Name == "Custom".GetLocalizedResource())
129
AppThemeResources.Remove(AppThemeResources.Last());
130
131
var appThemeBackgroundColor = new AppThemeResourceItem
132
133
BackgroundColor = themeBackgroundColor,
134
- Name = "Custom"
+ Name = "Custom".GetLocalizedResource(),
135
};
136
137
AppThemeResources.Add(appThemeBackgroundColor);
0 commit comments