From 50fa74adfe3e51a746f63ba09cd7b5892fe87ef6 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 23 Dec 2017 00:10:48 -0500 Subject: [PATCH] noop device action service --- src/iOS.Core/Services/NoopDeviceActionService.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/iOS.Core/Services/NoopDeviceActionService.cs b/src/iOS.Core/Services/NoopDeviceActionService.cs index 52360c7b4..ce18b8e99 100644 --- a/src/iOS.Core/Services/NoopDeviceActionService.cs +++ b/src/iOS.Core/Services/NoopDeviceActionService.cs @@ -2,6 +2,7 @@ using Bit.App.Abstractions; using System.Threading.Tasks; using Bit.App.Models.Page; +using Xamarin.Forms; namespace Bit.iOS.Core.Services { @@ -42,11 +43,16 @@ namespace Bit.iOS.Core.Services // do nothing } - public void LaunchApp(string appName) + public void HideLoading() { // do nothing } + public Task LaunchAppAsync(string appName, Page page) + { + return Task.FromResult(0); + } + public void OpenAccessibilitySettings() { // do nothing @@ -72,6 +78,11 @@ namespace Bit.iOS.Core.Services return Task.FromResult(0); } + public void ShowLoading(string text) + { + // do nothing + } + public void Toast(string text, bool longDuration = false) { // do nothing