Added click to refresh on Home and Notifications

• Added:
- click to refresh on Home and Notifications... If click on notifications or home button, it refreshes the data
This commit is contained in:
mgabdev
2020-06-10 17:44:38 -04:00
parent 8ba98c5192
commit 4e72076b98
4 changed files with 93 additions and 21 deletions

View File

@@ -48,6 +48,15 @@ export function updateTimelineQueue(timeline, status, accept) {
}
};
export function forceDequeueTimeline(timeline) {
return (dispatch) => {
dispatch({
type: TIMELINE_DEQUEUE,
timeline,
})
}
}
export function dequeueTimeline(timeline, expandFunc, optionalExpandArgs) {
return (dispatch, getState) => {
const queuedItems = getState().getIn(['timelines', timeline, 'queuedItems'], ImmutableList());