mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Merge pull request #5729 from vector-im/steve/5719_lls_build_flag
Add live location sharing build flag
This commit is contained in:
commit
66fca1a2df
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue