mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-18 10:25:00 +03:00
fix(ui): omit country flag emoji on Windows to avoid DE(DE) display (#9454)
This commit is contained in:
committed by
GitHub
parent
fcf6c1e3ae
commit
8609e2b8d1
@@ -22,7 +22,7 @@ public readonly record struct IpInfoResult(string Country, string? Ip)
|
|||||||
{
|
{
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
var emoji = Country.CountryToEmoji();
|
var emoji = Utils.IsWindows() ? null : Country.CountryToEmoji();
|
||||||
return $"{emoji}({Country}) {Ip}";
|
return $"{emoji}({Country}) {Ip}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user