remove snackbar when download complete
This commit is contained in:
parent
3d66610d69
commit
35f35dcbae
1 changed files with 1 additions and 8 deletions
|
@ -139,14 +139,7 @@ export function doUpdateLoadStatus(uri, outpoint) {
|
|||
0
|
||||
);
|
||||
|
||||
if (state.navigation.currentPath === '/subscriptions') {
|
||||
dispatch(
|
||||
doNotify({
|
||||
message: `'${fileInfo.metadata.title}' has been downloaded`,
|
||||
displayType: ['snackbar'],
|
||||
})
|
||||
);
|
||||
} else if (selectosNotificationsEnabled(state)) {
|
||||
if (selectosNotificationsEnabled(state)) {
|
||||
const notif = new window.Notification(notifications[uri].subscription.channelName, {
|
||||
body: `Posted ${fileInfo.metadata.title}${
|
||||
count > 1 && count < 10 ? ` and ${count - 1} other new items` : ''
|
||||
|
|
Loading…
Add table
Reference in a new issue