mirror of
https://github.com/mastodon/mastodon-android.git
synced 2025-01-31 02:44:48 +01:00
oops I forgot the copy link thing
This commit is contained in:
parent
eb45b59cac
commit
01ae5b915d
@ -763,6 +763,9 @@ public class ProfileFragment extends LoaderFragment implements ScrollableToTop{
|
||||
})
|
||||
.wrapProgress(getActivity(), R.string.loading, false)
|
||||
.exec(accountID);
|
||||
}else if(id==R.id.copy_link){
|
||||
getActivity().getSystemService(ClipboardManager.class).setPrimaryClip(ClipData.newPlainText(null, account.url));
|
||||
UiUtils.maybeShowTextCopiedToast(getActivity());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user