1
0
mirror of https://github.com/C9Glax/tranga.git synced 2025-07-09 06:36:06 +02:00

Reset UserAgent when Empty

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

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