diff --git a/src/App/Pages/Vault/GroupingsPage/GroupingsPageViewModel.cs b/src/App/Pages/Vault/GroupingsPage/GroupingsPageViewModel.cs index 57ee29f52..a1ba36d13 100644 --- a/src/App/Pages/Vault/GroupingsPage/GroupingsPageViewModel.cs +++ b/src/App/Pages/Vault/GroupingsPage/GroupingsPageViewModel.cs @@ -294,6 +294,12 @@ namespace Bit.App.Pages items.AddRange(itemGroup); } + if (Device.RuntimePlatform == Device.iOS) + { + // HACK: [PS-536] Fix to avoid blank list after back navigation on unlocking with previous page info + // because of update to XF v5.0.0.2401 + GroupedItems.Clear(); + } GroupedItems.ReplaceRange(items); } else @@ -316,6 +322,12 @@ namespace Bit.App.Pages if (groupedItems.Any()) { + if (Device.RuntimePlatform == Device.iOS) + { + // HACK: [PS-536] Fix to avoid blank list after back navigation on unlocking with previous page info + // because of update to XF v5.0.0.2401 + GroupedItems.Clear(); + } GroupedItems.ReplaceRange(new List { new GroupingsPageHeaderListItem(groupedItems[0].Name, groupedItems[0].ItemCount) }); GroupedItems.AddRange(items); }