This commit is contained in:
schlagmichdoch 2024-08-27 13:34:18 -04:00 committed by GitHub
commit b98dbfd94d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 97 additions and 34 deletions

View file

@ -118,8 +118,8 @@ class PairDrop {
this.$headerNotificationBtn.removeAttribute('hidden');
}
let roomSecrets = await PersistentStorage.getAllRoomSecrets();
if (roomSecrets.length > 0) {
let roomSecretsCount = await PersistentStorage.getAllRoomSecretsCount();
if (roomSecretsCount > 0) {
this.$headerEditPairedDevicesBtn.removeAttribute('hidden');
this.$footerPairedDevicesBadge.removeAttribute('hidden');
}