mirror of
https://github.com/C9Glax/tranga.git
synced 2025-01-12 03:17:33 +01:00
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…
x
Reference in New Issue
Block a user