Skip to content

Conversation

@andybalaam
Copy link
Member

@andybalaam andybalaam commented Dec 8, 2025

Adds a "Dismiss" button to the "Key storage out of sync" toast, which closes the dialog for this session only.

image

Fixes #30959

Based on #31367 - wait for that to merge first.

uhoreg and others added 13 commits November 21, 2025 17:00
If cross-signing keys are missing both locally and in 4S, show a new toast
saying that identity needs resetting, rather than saying that the device
needs to be verified.
- move enum from SetupEncryptionToast to DeviceListener
- DeviceListener has public method to get device state
- DeviceListener emits events to update device state
brings RecoveryPanelOutOfSync in line with SetupEncryptionToast behaviour
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My suspicion is that, without changes to DeviceListener, this will pop up again next time there is any change to devices, etc

@andybalaam
Copy link
Member Author

My suspicion is that, without changes to DeviceListener, this will pop up again next time there is any change to devices, etc

I'm sure you're right, thanks. I'll check this.

@andybalaam
Copy link
Member Author

My suspicion is that, without changes to DeviceListener, this will pop up again next time there is any change to devices, etc

I'm sure you're right, thanks. I'll check this.

It turns out this change does actually update state, because it calls DeviceListener.dismissEncryptionSetup which sets dismissedThisDeviceToast to true, suppressing the dialog.

So I think this change actually does what it should :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Feature Request to add a new feature which does not exist right now

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow "key storage out of sync" toast to be dismissed

4 participants