Merge pull request #5729 from vector-im/steve/5719_lls_build_flag

Add live location sharing build flag
This commit is contained in:
SBiOSoftWhare 2022-03-02 18:10:24 +01:00 committed by GitHub
commit 66fca1a2df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -397,4 +397,17 @@ final class BuildSettings: NSObject {
return true
}
static var liveLocationSharingEnabled: Bool {
guard #available(iOS 14, *) else {
return false
}
guard self.locationSharingEnabled else {
return false
}
// Do not enable live location sharing atm
return false
}
}