diff --git a/src/iOS.Core/Services/NoopDeviceActionService.cs b/src/iOS.Core/Services/NoopDeviceActionService.cs index c9c97349f..956e99a0c 100644 --- a/src/iOS.Core/Services/NoopDeviceActionService.cs +++ b/src/iOS.Core/Services/NoopDeviceActionService.cs @@ -45,7 +45,7 @@ namespace Bit.iOS.Core.Services public Task DisplayPromptAync(string title = null, string description = null, string text = null) { - // do nothing + return Task.FromResult(null); } public void HideLoading() diff --git a/src/iOS/Services/DeviceActionService.cs b/src/iOS/Services/DeviceActionService.cs index 6e506a58d..22ce2ff34 100644 --- a/src/iOS/Services/DeviceActionService.cs +++ b/src/iOS/Services/DeviceActionService.cs @@ -341,6 +341,8 @@ namespace Bit.iOS.Services input = x; input.Text = text ?? string.Empty; }); + var vc = GetPresentedViewController(); + vc?.PresentViewController(alert, true, null); return result.Task; }