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:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user