1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-27 05:33:23 +00:00

adjust toast bottom margin depending on tab bar

This commit is contained in:
Kyle Spearrin
2017-12-23 00:34:07 -05:00
parent 2823a86b4e
commit 0c0a928e87
3 changed files with 33 additions and 13 deletions

View File

@@ -35,8 +35,7 @@ namespace Bit.iOS.Controls
return;
}
var tabs = Element as TabbedPage;
if(tabs != null)
if(Element is TabbedPage tabs)
{
for(int i = 0; i < TabBar.Items.Length; i++)
{