refactor(ServicesToaster): prevent installed trakt addon toast error

This commit is contained in:
Tim 2022-12-26 17:57:03 +01:00
parent 650ada3f8e
commit b9e826553c

View file

@ -19,6 +19,10 @@ const ServicesToaster = () => {
break;
}
if (args.source.event === 'AddonInstalled' && args.source.args.transport_url.startsWith('https://www.strem.io/trakt/addon')) {
break;
}
toast.show({
type: 'error',
title: args.source.event,