mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
ブロッカーへの警告はログイン時のみ表示するように
This commit is contained in:
parent
ceaefa53d6
commit
a086d6c042
@ -1,8 +1,8 @@
|
||||
require('fuckadblock');
|
||||
|
||||
declare const fuckAdBlock: any;
|
||||
|
||||
export default (os) => {
|
||||
require('fuckadblock');
|
||||
|
||||
function adBlockDetected() {
|
||||
os.apis.dialog({
|
||||
title: '%fa:exclamation-triangle%%i18n:common.adblock.detected%',
|
||||
|
@ -87,10 +87,12 @@ init(async (launch) => {
|
||||
updateBanner: updateBanner(os)
|
||||
}));
|
||||
|
||||
/**
|
||||
* Fuck AD Block
|
||||
*/
|
||||
fuckAdBlock(os);
|
||||
if (os.store.getters.isSignedIn) {
|
||||
/**
|
||||
* Fuck AD Block
|
||||
*/
|
||||
fuckAdBlock(os);
|
||||
}
|
||||
|
||||
/**
|
||||
* Init Notification
|
||||
|
Loading…
Reference in New Issue
Block a user