mirror of
https://github.com/bitwarden/mobile
synced 2025-12-12 14:23:26 +00:00
26 lines
542 B
C#
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;
|
|
}
|
|
}
|
|
}
|