1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-25 20:53:25 +00:00

dark keyboard on dark themes. resolves #588

This commit is contained in:
Kyle Spearrin
2019-08-28 20:27:15 -04:00
parent e2d1da02d3
commit b5dcdc74d7
9 changed files with 82 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ using Bit.App.Resources;
using Bit.Core.Abstractions;
using Bit.Core.Enums;
using Bit.Core.Models.View;
using Bit.iOS.Core.Utilities;
using Bit.iOS.Core.Views;
using CoreGraphics;
using Foundation;
@@ -203,6 +204,10 @@ namespace Bit.iOS.Core.Services
{
input.KeyboardType = UIKeyboardType.NumberPad;
}
if(!ThemeHelpers.LightTheme)
{
input.KeyboardAppearance = UIKeyboardAppearance.Dark;
}
});
var vc = GetPresentedViewController();
vc?.PresentViewController(alert, true, null);
@@ -469,4 +474,4 @@ namespace Bit.iOS.Core.Services
}
}
}
}
}