MainApplicationContext: code refactoring changes.

This commit is contained in:
Shreyas Zare
2024-02-04 18:18:01 +05:30
parent e8a0f8286d
commit f88d36f516

View File

@@ -1,6 +1,6 @@
/* /*
Technitium DNS Server Technitium DNS Server
Copyright (C) 2022 Shreyas Zare (shreyas@technitium.com) Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com)
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@@ -628,7 +628,7 @@ namespace DnsServerSystemTrayApp
SetNetworkDnsToDefault(); SetNetworkDnsToDefault();
} }
private void SetNetworkDnsToDefault(bool silent = false) private static void SetNetworkDnsToDefault(bool silent = false)
{ {
if (!Program.IsAdmin) if (!Program.IsAdmin)
{ {