diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2022-05-05 01:23:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 00:23:19 +0000 |
commit | 1fd97a01b2b55ae9ae17f47fe0c86b99afd3771e (patch) | |
tree | 4fd4a5243e5a48a4f2a135f135b2397a8e16f4dd /src/config.ts | |
parent | Fixing test dir name (diff) | |
download | ferdium-app-1fd97a01b2b55ae9ae17f47fe0c86b99afd3771e.tar.gz ferdium-app-1fd97a01b2b55ae9ae17f47fe0c86b99afd3771e.tar.zst ferdium-app-1fd97a01b2b55ae9ae17f47fe0c86b99afd3771e.zip |
Feature: makes Services location in sidebar changeable (#95)
Diffstat (limited to 'src/config.ts')
-rw-r--r-- | src/config.ts | 10 |
1 files changed, 10 insertions, 0 deletions
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 = { | |||
140 | 100: 'Extremely wide sidebar', | 140 | 100: 'Extremely wide sidebar', |
141 | }; | 141 | }; |
142 | 142 | ||
143 | export const SIDEBAR_SERVICES_LOCATION_TOPLEFT = 0; | ||
144 | export const SIDEBAR_SERVICES_LOCATION_CENTER = 1; | ||
145 | export const SIDEBAR_SERVICES_LOCATION_BOTTOMRIGHT = 2; | ||
146 | export const SIDEBAR_SERVICES_LOCATION = { | ||
147 | [SIDEBAR_SERVICES_LOCATION_TOPLEFT]: 'Top/Left', | ||
148 | [SIDEBAR_SERVICES_LOCATION_CENTER]: 'Center', | ||
149 | [SIDEBAR_SERVICES_LOCATION_BOTTOMRIGHT]: 'Bottom/Right' | ||
150 | } | ||
151 | |||
143 | export const ICON_SIZES = { | 152 | export const ICON_SIZES = { |
144 | 0: 'Very small icons', | 153 | 0: 'Very small icons', |
145 | 10: 'Small icons', | 154 | 10: 'Small icons', |
@@ -238,6 +247,7 @@ export const DEFAULT_APP_SETTINGS = { | |||
238 | adaptableDarkMode: true, | 247 | adaptableDarkMode: true, |
239 | accentColor: DEFAULT_ACCENT_COLOR, | 248 | accentColor: DEFAULT_ACCENT_COLOR, |
240 | serviceRibbonWidth: 68, | 249 | serviceRibbonWidth: 68, |
250 | sidebarServicesLocation: SIDEBAR_SERVICES_LOCATION_TOPLEFT, | ||
241 | iconSize: iconSizeBias, | 251 | iconSize: iconSizeBias, |
242 | sentry: false, | 252 | sentry: false, |
243 | navigationBarBehaviour: 'custom', | 253 | navigationBarBehaviour: 'custom', |