mirror of https://github.com/Kylart/KawAnime.git
Added settings to disable analytics
This commit is contained in:
parent
9883cd3a83
commit
6bb49934f3
|
@ -32,7 +32,8 @@ export default {
|
||||||
darkTheme: true,
|
darkTheme: true,
|
||||||
autoStart: false,
|
autoStart: false,
|
||||||
toTray: false,
|
toTray: false,
|
||||||
center: true
|
center: true,
|
||||||
|
analytics: true
|
||||||
},
|
},
|
||||||
bounds: {
|
bounds: {
|
||||||
height: null,
|
height: null,
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
v-card-text
|
v-card-text
|
||||||
v-container(grid-list-lg, pa-0, pb-2)
|
v-container(grid-list-lg, pa-0, pb-2)
|
||||||
v-layout(row, wrap, justify-space-around, align-center)
|
v-layout(row, wrap, justify-space-around, align-center)
|
||||||
v-flex(xs12, sm4)
|
v-flex(xs12, sm3)
|
||||||
v-switch.mt-0(
|
v-switch.mt-0(
|
||||||
v-model='tray',
|
v-model='tray',
|
||||||
color='primary',
|
color='primary',
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
persistent-hint,
|
persistent-hint,
|
||||||
hint='*Should KawAnime be in your tray?'
|
hint='*Should KawAnime be in your tray?'
|
||||||
)
|
)
|
||||||
v-flex(xs12, sm4)
|
v-flex(xs12, sm3)
|
||||||
v-switch.mt-0(
|
v-switch.mt-0(
|
||||||
v-model='autoStart',
|
v-model='autoStart',
|
||||||
color='primary',
|
color='primary',
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
persistent-hint,
|
persistent-hint,
|
||||||
hint='*Should KawAnime start on boot?'
|
hint='*Should KawAnime start on boot?'
|
||||||
)
|
)
|
||||||
v-flex(xs12, sm4)
|
v-flex(xs12, sm3)
|
||||||
v-switch.mt-0(
|
v-switch.mt-0(
|
||||||
v-model='darkTheme',
|
v-model='darkTheme',
|
||||||
color='primary',
|
color='primary',
|
||||||
|
@ -30,6 +30,14 @@
|
||||||
persistent-hint,
|
persistent-hint,
|
||||||
hint='Theme to apply'
|
hint='Theme to apply'
|
||||||
)
|
)
|
||||||
|
v-flex(xs12, sm3)
|
||||||
|
v-switch.mt-0(
|
||||||
|
v-model='analytics',
|
||||||
|
color='primary',
|
||||||
|
:label="analytics ? 'Ok' : 'Nope'"
|
||||||
|
persistent-hint,
|
||||||
|
hint='Allows the app to send events to our server (mainly to know how many users we have)'
|
||||||
|
)
|
||||||
|
|
||||||
v-container(grid-list-lg, pa-0, mt-3)
|
v-container(grid-list-lg, pa-0, mt-3)
|
||||||
v-layout(row, wrap, justify-space-around, align-center)
|
v-layout(row, wrap, justify-space-around, align-center)
|
||||||
|
@ -144,6 +152,14 @@ export default {
|
||||||
this.setDeepValue('system.darkTheme', val)
|
this.setDeepValue('system.darkTheme', val)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
analytics: {
|
||||||
|
get () {
|
||||||
|
return this.system.analytics
|
||||||
|
},
|
||||||
|
set (val) {
|
||||||
|
this.setDeepValue('system.analytics', val)
|
||||||
|
}
|
||||||
|
},
|
||||||
height: {
|
height: {
|
||||||
get () {
|
get () {
|
||||||
return this.bounds.height
|
return this.bounds.height
|
||||||
|
|
Loading…
Reference in New Issue