mirror of
https://github.com/bitwarden/android.git
synced 2025-01-11 18:57:39 +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.Connectivity;
|
||||||
using Plugin.Fingerprint;
|
using Plugin.Fingerprint;
|
||||||
using Plugin.Settings.Abstractions;
|
using Plugin.Settings.Abstractions;
|
||||||
using PushNotification.Plugin;
|
|
||||||
using SimpleInjector;
|
using SimpleInjector;
|
||||||
using System;
|
using System;
|
||||||
using Windows.ApplicationModel;
|
using Windows.ApplicationModel;
|
||||||
|
|
|
@ -14,7 +14,6 @@ namespace Bit.UWP
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
LoadApplication(new Bit.App.App(
|
LoadApplication(new Bit.App.App(
|
||||||
null,
|
null,
|
||||||
false,
|
|
||||||
Resolver.Resolve<IAuthService>(),
|
Resolver.Resolve<IAuthService>(),
|
||||||
Resolver.Resolve<IConnectivity>(),
|
Resolver.Resolve<IConnectivity>(),
|
||||||
Resolver.Resolve<IUserDialogs>(),
|
Resolver.Resolve<IUserDialogs>(),
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
using Bit.App.Abstractions;
|
using Bit.App.Abstractions;
|
||||||
|
using Bit.App.Models.Page;
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
using System.Runtime.InteropServices.WindowsRuntime;
|
||||||
|
@ -55,11 +56,6 @@ namespace Bit.UWP.Services
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OpenAutofillSettings()
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
public Task SelectFileAsync()
|
public Task SelectFileAsync()
|
||||||
{
|
{
|
||||||
var picker = new Windows.Storage.Pickers.FileOpenPicker
|
var picker = new Windows.Storage.Pickers.FileOpenPicker
|
||||||
|
@ -85,5 +81,45 @@ namespace Bit.UWP.Services
|
||||||
MessagingCenter.Send(Application.Current, "SelectFileResult",
|
MessagingCenter.Send(Application.Current, "SelectFileResult",
|
||||||
new Tuple<byte[], string>(buffer.ToArray(), file.Name));
|
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