Reset UserAgent when Empty
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user