Update nirvana_iosApp.swift
This commit is contained in:
@@ -36,8 +36,6 @@ struct nirvana_iosApp: App {
|
|||||||
// set firestore user document isOnline to true
|
// set firestore user document isOnline to true
|
||||||
self.authSessionStore.updateUserStatus(userStatus: .online)
|
self.authSessionStore.updateUserStatus(userStatus: .online)
|
||||||
case .background:
|
case .background:
|
||||||
// TODO: find a way to do this in the background so that people can call me and start talking even if it's in the background
|
|
||||||
// but this may just not be possible, only with an actual call so to speak
|
|
||||||
print("app is in backgroun")
|
print("app is in backgroun")
|
||||||
self.authSessionStore.updateUserStatus(userStatus: .background)
|
self.authSessionStore.updateUserStatus(userStatus: .background)
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user