mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-14 15:27:53 +02:00
Reset UserAgent when Empty
This commit is contained in:
@ -131,7 +131,7 @@ public class TrangaSettings
|
|||||||
|
|
||||||
public void UpdateUserAgent(string customUserAgent)
|
public void UpdateUserAgent(string customUserAgent)
|
||||||
{
|
{
|
||||||
this.userAgent = customUserAgent;
|
this.userAgent = customUserAgent.Length < 1 ? DefaultUserAgent : customUserAgent;
|
||||||
ExportSettings();
|
ExportSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user