Update dependencies
This commit is contained in:
parent
4bdf9c235d
commit
1a459672d9
@ -19,12 +19,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"identity" : "push-api",
|
"identity" : "push-definitions",
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://christophhagen.de/git/ch/Push-API.git",
|
"location" : "https://christophhagen.de/git/ch/Push-Definitions.git",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "50e74bf15637cbcab3f76ff1255db355cc87bc4e",
|
"revision" : "3a4e93889b0cb5f500eeccd7ba2a099d0f3862f0",
|
||||||
"version" : "0.5.0"
|
"version" : "1.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -32,8 +32,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://christophhagen.de/git/ch/Push-iOS",
|
"location" : "https://christophhagen.de/git/ch/Push-iOS",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "910f7e5f91408ddf54ea15fb3ccef182b5daedff",
|
"revision" : "1131cb17c6114a0b41263be1b5788188548adc41",
|
||||||
"version" : "0.2.0"
|
"version" : "0.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import SwiftUI
|
import SwiftUI
|
||||||
import APNSwift
|
import APNSwift
|
||||||
import Push
|
import Push
|
||||||
import PushAPI
|
import PushMessageDefinitions
|
||||||
import SFSafeSymbols
|
import SFSafeSymbols
|
||||||
|
|
||||||
struct ContentView: View {
|
struct ContentView: View {
|
||||||
@ -177,6 +177,18 @@ struct ContentView: View {
|
|||||||
}
|
}
|
||||||
}.onAppear {
|
}.onAppear {
|
||||||
startPeriodicUpdates()
|
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 {
|
}.onDisappear {
|
||||||
stopPeriodicUpdates()
|
stopPeriodicUpdates()
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import SwiftUI
|
import SwiftUI
|
||||||
import PushAPI
|
import PushMessageDefinitions
|
||||||
import Push
|
import Push
|
||||||
|
|
||||||
extension String {
|
extension String {
|
||||||
|
Loading…
Reference in New Issue
Block a user