mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
update
This commit is contained in:
parent
7a3c373336
commit
c4874f02d7
@ -117,6 +117,7 @@ import sensorInfo, { SensorInfo } from './components/biometrics/sensorInfo';
|
||||
import { getCurrentProfile } from '@joplin/lib/services/profileConfig';
|
||||
import { getDatabaseName, getProfilesRootDir, getResourceDir, setDispatch } from './services/profiles';
|
||||
import { ReactNode } from 'react';
|
||||
import { parseShareCache } from '@joplin/lib/services/share/reducer';
|
||||
|
||||
type SideMenuPosition = 'left' | 'right';
|
||||
|
||||
@ -516,6 +517,7 @@ async function initialize(dispatch: Function) {
|
||||
if (!Setting.value('clientId')) Setting.setValue('clientId', uuid.create());
|
||||
reg.logger().info(`Client ID: ${Setting.value('clientId')}`);
|
||||
|
||||
BaseItem.syncShareCache = parseShareCache(Setting.value('sync.shareCache'));
|
||||
|
||||
if (Setting.value('firstStart')) {
|
||||
const detectedLocale = shim.detectAndSetLocale(Setting);
|
||||
|
@ -137,7 +137,7 @@ function addMissingProperties(theme: Theme) {
|
||||
return theme;
|
||||
}
|
||||
|
||||
function addExtraStyles(style: any) {
|
||||
export function addExtraStyles(style: any) {
|
||||
style.selectedDividerColor = Color(style.dividerColor).darken(0.2).hex();
|
||||
style.iconColor = Color(style.color).alpha(0.8);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user