Optimized light mode
This commit is contained in:
parent
bde9cf0596
commit
d6a67f7309
@ -75,7 +75,7 @@ export default {
|
|||||||
}),
|
}),
|
||||||
computed: {
|
computed: {
|
||||||
panel() {
|
panel() {
|
||||||
return this.$store.getters['data/layoutSettings'].sideBarPanel;
|
return !this.$store.state.light && this.$store.getters['data/layoutSettings'].sideBarPanel;
|
||||||
},
|
},
|
||||||
panelName() {
|
panelName() {
|
||||||
return panelNames[this.panel];
|
return panelNames[this.panel];
|
||||||
|
@ -23,8 +23,11 @@ const isGoogleSponsor = () => {
|
|||||||
|
|
||||||
const checkPayment = () => {
|
const checkPayment = () => {
|
||||||
const currentDate = Date.now();
|
const currentDate = Date.now();
|
||||||
if (!isGoogleSponsor() && networkSvc.isUserActive() && !store.state.offline &&
|
if (!isGoogleSponsor()
|
||||||
lastCheck + checkPaymentEvery < currentDate
|
&& networkSvc.isUserActive()
|
||||||
|
&& !store.state.offline
|
||||||
|
&& !store.state.light
|
||||||
|
&& lastCheck + checkPaymentEvery < currentDate
|
||||||
) {
|
) {
|
||||||
lastCheck = currentDate;
|
lastCheck = currentDate;
|
||||||
getMonetize()
|
getMonetize()
|
||||||
|
Loading…
Reference in New Issue
Block a user