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