Add setting for enabling location sharing (#7547)

This commit is contained in:
Andy Balaam
2022-01-14 15:57:39 +00:00
committed by GitHub
parent ae2cb63a0d
commit 18c82d57ae
4 changed files with 34 additions and 5 deletions
+6
View File
@@ -407,6 +407,12 @@ export const SETTINGS: {[setting: string]: ISetting} = {
default: true,
controller: new UIFeatureController(UIFeature.Widgets, false),
},
"MessageComposerInput.showLocationButton": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td('Enable location sharing'),
default: true,
controller: new UIFeatureController(UIFeature.Widgets, false),
},
// TODO: Wire up appropriately to UI (FTUE notifications)
"Notifications.alwaysShowBadgeCounts": {
supportedLevels: LEVELS_ROOM_OR_ACCOUNT,