1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

About and credit page implementation. Adjusted block screen and launch screen logo margins up some. Added decryption message to extension loading.

This commit is contained in:
Kyle Spearrin
2016-07-23 23:50:08 -04:00
parent 8ad2786bb0
commit b8c6e77fca
15 changed files with 188 additions and 23 deletions

View File

@@ -121,7 +121,7 @@ namespace Bit.iOS
var imageView = new UIImageView(new UIImage("logo.png"))
{
Center = view.Center
Center = new CoreGraphics.CGPoint(view.Center.X, view.Center.Y - 40)
};
view.AddSubview(backgroundView);
@@ -130,6 +130,7 @@ namespace Bit.iOS
UIApplication.SharedApplication.KeyWindow.AddSubview(view);
UIApplication.SharedApplication.KeyWindow.BringSubviewToFront(view);
UIApplication.SharedApplication.KeyWindow.EndEditing(true);
UIApplication.SharedApplication.SetStatusBarHidden(true, false);
// Log the date/time we last backgrounded
@@ -163,6 +164,7 @@ namespace Bit.iOS
if(view != null)
{
view.RemoveFromSuperview();
UIApplication.SharedApplication.SetStatusBarHidden(false, false);
}
}
@@ -240,6 +242,7 @@ namespace Bit.iOS
.RegisterType<IPasswordGenerationService, PasswordGenerationService>(new ContainerControlledLifetimeManager())
.RegisterType<IReflectionService, ReflectionService>(new ContainerControlledLifetimeManager())
.RegisterType<ILockService, LockService>(new ContainerControlledLifetimeManager())
.RegisterType<IAppInfoService, AppInfoService>(new ContainerControlledLifetimeManager())
// Repositories
.RegisterType<IFolderRepository, FolderRepository>(new ContainerControlledLifetimeManager())
.RegisterType<IFolderApiRepository, FolderApiRepository>(new ContainerControlledLifetimeManager())