Update dependencies
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import SwiftUI
|
||||
import APNSwift
|
||||
import Push
|
||||
import PushAPI
|
||||
import PushMessageDefinitions
|
||||
import SFSafeSymbols
|
||||
|
||||
struct ContentView: View {
|
||||
@ -177,6 +177,18 @@ struct ContentView: View {
|
||||
}
|
||||
}.onAppear {
|
||||
startPeriodicUpdates()
|
||||
if server == "" {
|
||||
server = "https://christophhagen.de/push"
|
||||
}
|
||||
if application == "" {
|
||||
application = "FlurSchnaps"
|
||||
}
|
||||
if pushMessageTitle == "" {
|
||||
pushMessageTitle = "Flur-Schnaps"
|
||||
}
|
||||
if pushMessageText == "" {
|
||||
pushMessageText = "Du hast 30 Sekunden, um im Flur zu erscheinen"
|
||||
}
|
||||
}.onDisappear {
|
||||
stopPeriodicUpdates()
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import SwiftUI
|
||||
import PushAPI
|
||||
import PushMessageDefinitions
|
||||
import Push
|
||||
|
||||
extension String {
|
||||
|
Reference in New Issue
Block a user