From 1fd97a01b2b55ae9ae17f47fe0c86b99afd3771e Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Thu, 5 May 2022 01:23:19 +0100 Subject: Feature: makes Services location in sidebar changeable (#95) --- src/config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/config.ts') diff --git a/src/config.ts b/src/config.ts index 48056533f..495a07026 100644 --- a/src/config.ts +++ b/src/config.ts @@ -140,6 +140,15 @@ export const SIDEBAR_WIDTH = { 100: 'Extremely wide sidebar', }; +export const SIDEBAR_SERVICES_LOCATION_TOPLEFT = 0; +export const SIDEBAR_SERVICES_LOCATION_CENTER = 1; +export const SIDEBAR_SERVICES_LOCATION_BOTTOMRIGHT = 2; +export const SIDEBAR_SERVICES_LOCATION = { + [SIDEBAR_SERVICES_LOCATION_TOPLEFT]: 'Top/Left', + [SIDEBAR_SERVICES_LOCATION_CENTER]: 'Center', + [SIDEBAR_SERVICES_LOCATION_BOTTOMRIGHT]: 'Bottom/Right' +} + export const ICON_SIZES = { 0: 'Very small icons', 10: 'Small icons', @@ -238,6 +247,7 @@ export const DEFAULT_APP_SETTINGS = { adaptableDarkMode: true, accentColor: DEFAULT_ACCENT_COLOR, serviceRibbonWidth: 68, + sidebarServicesLocation: SIDEBAR_SERVICES_LOCATION_TOPLEFT, iconSize: iconSizeBias, sentry: false, navigationBarBehaviour: 'custom', -- cgit v1.2.3-54-g00ecf