added interface themes
This commit is contained in:
@@ -90,12 +90,10 @@ public sealed class SettingsService : IDisposable
|
||||
}
|
||||
catch (Exception e) when (e is IOException or UnauthorizedAccessException or JsonException)
|
||||
{
|
||||
// Испорченный файл не должен мешать запуску: начнём с умолчаний
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Язык по умолчанию берём системный, если он поддерживается
|
||||
private static AppSettings CreateDefault()
|
||||
{
|
||||
string uiLanguage = System.Globalization.CultureInfo.CurrentUICulture.TwoLetterISOLanguageName;
|
||||
|
||||
Reference in New Issue
Block a user