1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

Fix UWP errors

This commit is contained in:
Kyle Spearrin 2017-11-28 21:08:45 -05:00
parent faaa0b2488
commit 029c6fcfe3
3 changed files with 41 additions and 7 deletions

View File

@ -7,7 +7,6 @@ using FFImageLoading.Forms.WinUWP;
using Plugin.Connectivity;
using Plugin.Fingerprint;
using Plugin.Settings.Abstractions;
using PushNotification.Plugin;
using SimpleInjector;
using System;
using Windows.ApplicationModel;

View File

@ -14,7 +14,6 @@ namespace Bit.UWP
InitializeComponent();
LoadApplication(new Bit.App.App(
null,
false,
Resolver.Resolve<IAuthService>(),
Resolver.Resolve<IConnectivity>(),
Resolver.Resolve<IUserDialogs>(),

View File

@ -1,4 +1,5 @@
using Bit.App.Abstractions;
using Bit.App.Models.Page;
using System;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
@ -55,11 +56,6 @@ namespace Bit.UWP.Services
}
}
public void OpenAutofillSettings()
{
throw new NotImplementedException();
}
public Task SelectFileAsync()
{
var picker = new Windows.Storage.Pickers.FileOpenPicker
@ -85,5 +81,45 @@ namespace Bit.UWP.Services
MessagingCenter.Send(Application.Current, "SelectFileResult",
new Tuple<byte[], string>(buffer.ToArray(), file.Name));
}
public void Autofill(VaultListPageModel.Cipher cipher)
{
throw new NotImplementedException();
}
public void CloseAutofill()
{
throw new NotImplementedException();
}
public void Background()
{
// do nothing
}
public void RateApp()
{
// do nothing
}
public void DismissKeyboard()
{
// do nothing
}
public void LaunchApp(string appName)
{
// do nothing
}
public void OpenAccessibilitySettings()
{
throw new NotImplementedException();
}
public void OpenAutofillSettings()
{
throw new NotImplementedException();
}
}
}