mirror of
https://github.com/bitwarden/mobile
synced 2025-12-12 14:23:26 +00:00
attachments page with upload/delete
This commit is contained in:
@@ -6,6 +6,7 @@ using Android.Webkit;
|
||||
using Plugin.CurrentActivity;
|
||||
using System.IO;
|
||||
using Android.Support.V4.Content;
|
||||
using Bit.App;
|
||||
|
||||
namespace Bit.Android.Services
|
||||
{
|
||||
@@ -123,9 +124,12 @@ namespace Bit.Android.Services
|
||||
}
|
||||
}
|
||||
|
||||
public byte[] SelectFile()
|
||||
public void SelectFile()
|
||||
{
|
||||
return null;
|
||||
var intent = new Intent(Intent.ActionOpenDocument);
|
||||
intent.AddCategory(Intent.CategoryOpenable);
|
||||
intent.SetType("*/*");
|
||||
CrossCurrentActivity.Current.Activity.StartActivityForResult(intent, Constants.SelectFileRequestCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user