oops I forgot the copy link thing

This commit is contained in:
Grishka 2024-10-30 05:55:04 +03:00
parent eb45b59cac
commit 01ae5b915d

View File

@ -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;
}