1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 13:23:39 +00:00

Update XF to remove AndroidX dependency hack (#1544)

* update forms and other libs

* change async pattern
This commit is contained in:
Matt Portune
2021-09-23 13:11:51 -04:00
committed by GitHub
parent f2857397f0
commit 8d23bc89e8
8 changed files with 16 additions and 18 deletions

View File

@@ -49,11 +49,11 @@ namespace Bit.Droid.Renderers
return null;
}
async void BottomNavigationView.IOnNavigationItemReselectedListener.OnNavigationItemReselected(IMenuItem item)
public void OnNavigationItemReselected(IMenuItem item)
{
if (_page?.CurrentPage?.Navigation != null && _page.CurrentPage.Navigation.NavigationStack.Count > 0)
{
await _page.CurrentPage.Navigation.PopToRootAsync();
Device.BeginInvokeOnMainThread(async () => await _page.CurrentPage.Navigation.PopToRootAsync());
}
}
}