mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
Fix UWP errors
This commit is contained in:
parent
faaa0b2488
commit
029c6fcfe3
3 changed files with 41 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -14,7 +14,6 @@ namespace Bit.UWP
|
|||
InitializeComponent();
|
||||
LoadApplication(new Bit.App.App(
|
||||
null,
|
||||
false,
|
||||
Resolver.Resolve<IAuthService>(),
|
||||
Resolver.Resolve<IConnectivity>(),
|
||||
Resolver.Resolve<IUserDialogs>(),
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue