1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-12 14:23:26 +00:00
Files
mobile/src/iOS/Services/DeviceActionService.cs
2017-07-13 09:01:00 -04:00

26 lines
542 B
C#

using System;
using Bit.App.Abstractions;
using UIKit;
namespace Bit.iOS.Services
{
public class DeviceActionService : IDeviceActionService
{
public void CopyToClipboard(string text)
{
UIPasteboard clipboard = UIPasteboard.General;
clipboard.String = text;
}
public bool OpenFile(byte[] fileData, string id, string fileName)
{
return true;
}
public bool CanOpenFile(string fileName)
{
return true;
}
}
}