Skip to content
Snippets Groups Projects
Unverified Commit d93f76c1 authored by syuilo's avatar syuilo
Browse files

ブロッカーへの警告はログイン時のみ表示するように

parent cba0dd5e
No related branches found
No related tags found
No related merge requests found
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment