mirror of
https://github.com/kkebo/DNSecure.git
synced 2026-03-11 08:54:36 +00:00
Add Refresh button for macOS
This commit is contained in:
parent
4cfb651de1
commit
7297768e9e
1 changed files with 4 additions and 0 deletions
|
|
@ -194,6 +194,10 @@ extension ContentView: View {
|
|||
.frame(width: 10, height: 10)
|
||||
.foregroundColor(self.isEnabled ? .green : .secondary)
|
||||
Text(self.isEnabled ? "Active" : "Inactive")
|
||||
#if targetEnvironment(macCatalyst)
|
||||
Text("-")
|
||||
Button("Refresh", action: self.updateStatus)
|
||||
#endif
|
||||
}
|
||||
if !self.isEnabled {
|
||||
Button("How to Activate") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue