mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-04 19:45:00 +03:00
Fix
https://github.com/2dust/v2rayN/commit/749a7312d7899890b2dfedf635af4b03ddb1aa44
This commit is contained in:
@@ -38,7 +38,7 @@ public partial class ThemeSettingViewModel : MyReactiveObject
|
||||
CurrentFontSize = _config.UiItem.CurrentFontSize;
|
||||
CurrentLanguage = _config.UiItem.CurrentLanguage;
|
||||
|
||||
this.WhenAnyValueUnsafe(x => x.CurrentTheme)
|
||||
this.WhenAnyValue(x => x.CurrentTheme)
|
||||
.Where(y => y.IsNotEmpty())
|
||||
.SubscribeAsync(async _ =>
|
||||
{
|
||||
@@ -50,7 +50,7 @@ public partial class ThemeSettingViewModel : MyReactiveObject
|
||||
}
|
||||
});
|
||||
|
||||
this.WhenAnyValueUnsafe(x => x.CurrentFontSize)
|
||||
this.WhenAnyValue(x => x.CurrentFontSize)
|
||||
.Where(y => y > 0)
|
||||
.SubscribeAsync(async _ =>
|
||||
{
|
||||
@@ -62,7 +62,7 @@ public partial class ThemeSettingViewModel : MyReactiveObject
|
||||
}
|
||||
});
|
||||
|
||||
this.WhenAnyValueUnsafe(x => x.CurrentLanguage)
|
||||
this.WhenAnyValue(x => x.CurrentLanguage)
|
||||
.Where(y => !y.IsNullOrEmpty())
|
||||
.SubscribeAsync(async _ =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user