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();
}
}
}