mirror of
https://github.com/mastodon/mastodon-android.git
synced 2025-02-07 05:54:10 +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)
|
.wrapProgress(getActivity(), R.string.loading, false)
|
||||||
.exec(accountID);
|
.exec(accountID);
|
||||||
|
}else if(id==R.id.copy_link){
|
||||||
|
getActivity().getSystemService(ClipboardManager.class).setPrimaryClip(ClipData.newPlainText(null, account.url));
|
||||||
|
UiUtils.maybeShowTextCopiedToast(getActivity());
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user