diff --git a/Tranga/TrangaSettings.cs b/Tranga/TrangaSettings.cs index 9899e67..534e357 100644 --- a/Tranga/TrangaSettings.cs +++ b/Tranga/TrangaSettings.cs @@ -131,7 +131,7 @@ public class TrangaSettings public void UpdateUserAgent(string customUserAgent) { - this.userAgent = customUserAgent; + this.userAgent = customUserAgent.Length < 1 ? DefaultUserAgent : customUserAgent; ExportSettings(); }