2
0

Reset UserAgent when Empty

This commit is contained in:
Glax 2024-02-28 02:25:46 +01:00
parent 72ae124418
commit abfe42b7c1

View File

@ -131,7 +131,7 @@ public class TrangaSettings
public void UpdateUserAgent(string customUserAgent)
{
this.userAgent = customUserAgent;
this.userAgent = customUserAgent.Length < 1 ? DefaultUserAgent : customUserAgent;
ExportSettings();
}