mirror of
https://codeberg.org/gitnex/GitNex
synced 2024-12-23 00:48:57 +01:00
issue -> issueUrl
This commit is contained in:
parent
71bb8cc75d
commit
bf5527a82d
@ -92,15 +92,12 @@ public class SingleIssueBottomSheetFragment extends BottomSheetDialogFragment {
|
||||
instanceUrlWithProtocol = tinyDB.getString("instanceUrlWithProtocol");
|
||||
}
|
||||
|
||||
//get issue number
|
||||
String issue = tinyDB.getString("issueNumber");
|
||||
|
||||
//combine
|
||||
issue = instanceUrlWithProtocol + "/" + repoFullName + "/issues/" + issue;
|
||||
//get issue Url
|
||||
String issueUrl = instanceUrlWithProtocol + "/" + repoFullName + "/issues/" + tinyDB.getString("issueNumber");
|
||||
|
||||
// copy to clipboard
|
||||
ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService(android.content.Context.CLIPBOARD_SERVICE);
|
||||
ClipData clip = ClipData.newPlainText("issue", issue);
|
||||
ClipData clip = ClipData.newPlainText("issueUrl", issueUrl);
|
||||
clipboard.setPrimaryClip(clip);
|
||||
|
||||
dismiss();
|
||||
|
Loading…
Reference in New Issue
Block a user