Don't show Testing small changes without UIFeature.Feedback (#7427)

This commit is contained in:
Michael Telatynski
2021-12-21 14:59:59 +00:00
committed by GitHub
parent 54ca06ad53
commit d25d325387

View File

@@ -1523,7 +1523,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
showNotificationsToast(false); showNotificationsToast(false);
} }
if (!localStorage.getItem("mx_seen_ia_1.1_changes_toast")) { if (!localStorage.getItem("mx_seen_ia_1.1_changes_toast") && SettingsStore.getValue(UIFeature.Feedback)) {
const key = "IA_1.1_TOAST"; const key = "IA_1.1_TOAST";
ToastStore.sharedInstance().addOrReplaceToast({ ToastStore.sharedInstance().addOrReplaceToast({
key, key,