From d1819f4bd68bebf286d2538bf3d06ba2736c1353 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 29 Dec 2022 10:11:35 +0100 Subject: [PATCH] refactor(ServicesToaster): add more checks when suppressing trakt addon installed error --- src/App/ServicesToaster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/ServicesToaster.js b/src/App/ServicesToaster.js index 6ae2c7107..d3fdd3461 100644 --- a/src/App/ServicesToaster.js +++ b/src/App/ServicesToaster.js @@ -19,7 +19,7 @@ const ServicesToaster = () => { break; } - if (args.source.event === 'AddonInstalled' && args.source.args.transport_url.startsWith('https://www.strem.io/trakt/addon')) { + if (args.error.type === 'Other' && args.error.code === 3 && args.source.event === 'AddonInstalled' && args.source.args.transport_url.startsWith('https://www.strem.io/trakt/addon')) { break; }