From 029c6fcfe370ef808a3029fc7c77a2c5429ed34d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 28 Nov 2017 21:08:45 -0500 Subject: [PATCH] Fix UWP errors --- src/UWP/App.xaml.cs | 1 - src/UWP/MainPage.xaml.cs | 1 - src/UWP/Services/DeviceActionService.cs | 46 ++++++++++++++++++++++--- 3 files changed, 41 insertions(+), 7 deletions(-) diff --git a/src/UWP/App.xaml.cs b/src/UWP/App.xaml.cs index 658a5551b..c782b714e 100644 --- a/src/UWP/App.xaml.cs +++ b/src/UWP/App.xaml.cs @@ -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; diff --git a/src/UWP/MainPage.xaml.cs b/src/UWP/MainPage.xaml.cs index a112ca81d..ae1ce6b0a 100644 --- a/src/UWP/MainPage.xaml.cs +++ b/src/UWP/MainPage.xaml.cs @@ -14,7 +14,6 @@ namespace Bit.UWP InitializeComponent(); LoadApplication(new Bit.App.App( null, - false, Resolver.Resolve(), Resolver.Resolve(), Resolver.Resolve(), diff --git a/src/UWP/Services/DeviceActionService.cs b/src/UWP/Services/DeviceActionService.cs index 5f79d2d18..cbee7ae23 100644 --- a/src/UWP/Services/DeviceActionService.cs +++ b/src/UWP/Services/DeviceActionService.cs @@ -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(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(); + } } }