Key backup: Fix crash when switching tabs if there is a banner on the home tab

This is a regression made in #2265 (Key backup: avoid to refresh the home room list on every backup state change).

On other tabs than `self.keyBackupBanner` must be reset to `KeyBackupBannerNone` so that there is no banner section.
This commit is contained in:
manuroe
2019-02-19 14:51:47 +01:00
parent 8ecb8c24b5
commit 5ba30e5913
@@ -126,7 +126,8 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
{
[self unregisterKeyBackupStateDidChangeNotification];
}
[self updateKeyBackupBanner];
[self forceRefresh];
}