Support for local deletes synced to all your devices
This commit is contained in:
parent
06f71a7ef8
commit
11eb1782a7
39 changed files with 2094 additions and 72 deletions
|
@ -127,6 +127,13 @@ export const isInternalUser = createSelector(
|
|||
}
|
||||
);
|
||||
|
||||
export const getDeleteSyncSendEnabled = createSelector(
|
||||
getRemoteConfig,
|
||||
(remoteConfig: ConfigMapType): boolean => {
|
||||
return isRemoteConfigFlagEnabled(remoteConfig, 'desktop.deleteSync.send');
|
||||
}
|
||||
);
|
||||
|
||||
// Note: ts/util/stories is the other place this check is done
|
||||
export const getStoriesEnabled = createSelector(
|
||||
getItems,
|
||||
|
@ -242,3 +249,9 @@ export const getShowStickerPickerHint = createSelector(
|
|||
return state.showStickerPickerHint ?? false;
|
||||
}
|
||||
);
|
||||
|
||||
export const getLocalDeleteWarningShown = createSelector(
|
||||
getItems,
|
||||
(state: ItemsStateType): boolean =>
|
||||
Boolean(state.localDeleteWarningShown ?? false)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue