Connection State: Minimized by default, better contrast
This commit is contained in:
parent
4b9e9fd67c
commit
8a5aa4ac46
@ -41,7 +41,7 @@
|
||||
}
|
||||
|
||||
&.bg-light::before {
|
||||
background: rgba(255, 255, 255, 0.25);
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -124,6 +124,7 @@ function readCache(initialState: GlobalState): GlobalState {
|
||||
}
|
||||
|
||||
function migrateCache(cached: GlobalState, initialState: GlobalState) {
|
||||
// Migrate from legacy setting names
|
||||
if ('shouldAutoDownloadMediaFromContacts' in cached.settings.byKey) {
|
||||
const {
|
||||
shouldAutoDownloadMediaFromContacts,
|
||||
@ -150,6 +151,7 @@ function migrateCache(cached: GlobalState, initialState: GlobalState) {
|
||||
};
|
||||
}
|
||||
|
||||
// Pre-fill settings with defaults
|
||||
cached.settings.byKey = {
|
||||
...initialState.settings.byKey,
|
||||
...cached.settings.byKey,
|
||||
|
||||
@ -168,7 +168,7 @@ export const INITIAL_STATE: GlobalState = {
|
||||
language: 'en',
|
||||
timeFormat: '24h',
|
||||
wasTimeFormatSetManually: false,
|
||||
isConnectionStatusMinimized: false,
|
||||
isConnectionStatusMinimized: true,
|
||||
},
|
||||
themes: {
|
||||
light: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user