mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-10-25 14:29:51 +01:00
Add notice if agent isn't running (#47)
* Add agent checker * Check on foreground
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import Foundation
|
||||
import Combine
|
||||
|
||||
class PreviewAgentStatusChecker: AgentStatusCheckerProtocol {
|
||||
|
||||
let running: Bool
|
||||
|
||||
init(running: Bool = true) {
|
||||
self.running = running
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user