Subscriptions overhaul #1872

Merged
daovist merged 13 commits from subscriptions-overhaul into master 2018-08-20 18:36:23 +02:00
Showing only changes of commit 30e0ff309a - Show all commits

View file

@ -154,13 +154,15 @@ export function doUpdateLoadStatus(uri, outpoint) {
); );
}; };
} }
dispatch( if (state.navigation.currentPath !== '/subscriptions') {
setSubscriptionNotification( dispatch(
notifications[uri].subscription, setSubscriptionNotification(
uri, notifications[uri].subscription,
NOTIFICATION_TYPES.DOWNLOADED uri,
) NOTIFICATION_TYPES.DOWNLOADED
); )
);
}
} else { } else {
// If notifications are disabled(false) just return // If notifications are disabled(false) just return
if (!selectosNotificationsEnabled(getState())) return; if (!selectosNotificationsEnabled(getState())) return;