mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-16 12:10:28 +03:00
Merge branch 'dev' into new-profile-view
This commit is contained in:
commit
bedf5c9d54
23 changed files with 826 additions and 192 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { atom } from 'jotai';
|
||||
|
||||
const STORAGE_KEY = 'settings';
|
||||
export type DateFormat = 'D MMM YYYY' | 'DD/MM/YYYY' | 'MM/DD/YYYY' | 'YYYY/MM/DD' | '';
|
||||
export type MessageSpacing = '0' | '100' | '200' | '300' | '400' | '500';
|
||||
export enum MessageLayout {
|
||||
Modern = 0,
|
||||
|
|
@ -35,6 +36,9 @@ export interface Settings {
|
|||
showNotifications: boolean;
|
||||
isNotificationSounds: boolean;
|
||||
|
||||
hour24Clock: boolean;
|
||||
dateFormatString: string;
|
||||
|
||||
developerTools: boolean;
|
||||
}
|
||||
|
||||
|
|
@ -65,6 +69,9 @@ const defaultSettings: Settings = {
|
|||
showNotifications: true,
|
||||
isNotificationSounds: true,
|
||||
|
||||
hour24Clock: false,
|
||||
dateFormatString: 'D MMM YYYY',
|
||||
|
||||
developerTools: false,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue