Fix code style
parent
5c4203a436
commit
62c4347294
|
|
@ -219,10 +219,7 @@ namespace Ryujinx.Ava
|
|||
}
|
||||
|
||||
// When you first load the program, copy to remember the path for the global configuration
|
||||
if (GlobalConfigurationPath == null)
|
||||
{
|
||||
GlobalConfigurationPath = ConfigurationPath;
|
||||
}
|
||||
GlobalConfigurationPath ??= ConfigurationPath;
|
||||
|
||||
UseHardwareAcceleration = ConfigurationState.Instance.EnableHardwareAcceleration;
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ namespace Ryujinx.Ava.UI.Applet
|
|||
|
||||
return culture.TwoLetterISOLanguageName switch
|
||||
{
|
||||
"zh" => langCode == "zh-CN" || langCode == "zh-Hans" || langCode == "zh-SG"
|
||||
"zh" => langCode is "zh-CN" or "zh-Hans" or "zh-SG"
|
||||
? "Microsoft YaHei UI" // Simplified Chinese
|
||||
: "Microsoft JhengHei UI", // Traditional Chinese
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue