Add UIFeature.locationSharing to hide location sharing (#10727)

* Add UIFeature.locationSharing to hide location sharing

* Iterate
This commit is contained in:
Michael Telatynski 2023-04-28 08:46:33 +01:00 committed by GitHub
parent d084c34ea2
commit 457c1d011a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View file

@ -1089,6 +1089,10 @@ export const SETTINGS: { [setting: string]: ISetting } = {
supportedLevels: LEVELS_UI_FEATURE,
default: true,
},
[UIFeature.LocationSharing]: {
supportedLevels: LEVELS_UI_FEATURE,
default: true,
},
[UIFeature.Voip]: {
supportedLevels: LEVELS_UI_FEATURE,
default: true,

View file

@ -15,10 +15,11 @@ limitations under the License.
*/
// see settings.md for documentation on conventions
export enum UIFeature {
export const enum UIFeature {
AdvancedEncryption = "UIFeature.advancedEncryption",
URLPreviews = "UIFeature.urlPreviews",
Widgets = "UIFeature.widgets",
LocationSharing = "UIFeature.locationSharing",
Voip = "UIFeature.voip",
Feedback = "UIFeature.feedback",
Registration = "UIFeature.registration",