mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-09 13:00:39 +08:00
9 lines
206 B
C#
9 lines
206 B
C#
namespace BetterGenshinImpact.Helpers.Extensions;
|
|
|
|
public static class BooleanExtension
|
|
{
|
|
public static string ToChinese(this bool enabled)
|
|
{
|
|
return enabled ? "开启" : "关闭";
|
|
}
|
|
} |