Feature/adc/#55 settings screen (#77)

* #55 - created settings views with sub navigation + preference page

* #55 - navigation done

* #55 - views and translations done

* #55 - merge main

* #55 - user settings interface update

* #55 - mobile view fix

Co-authored-by: Arthi-chaud <arthur.jamet@gmail.com>
This commit is contained in:
Amaury
2022-10-18 19:14:08 +02:00
committed by GitHub
parent ca552c9535
commit 0d17119cf4
10 changed files with 348 additions and 86 deletions
+19 -1
View File
@@ -1,5 +1,23 @@
interface UserSettings {
preferences: {
deviceId: number,
micVolume: number,
theme: 'light' | 'dark' | 'system',
lang: 'fr' | 'en' | 'sp',
difficulty: 'beg' | 'inter' | 'pro',
colorBlind: boolean
},
notifications: {
pushNotif: boolean,
emailNotif: boolean,
trainNotif: boolean,
newSongNotif: boolean
},
privacy: {
dataCollection: boolean,
customAdd: boolean,
recommendation: boolean
}
}
export default UserSettings