Skip to content

Commit a1ff935

Browse files
authored
Merge pull request #131 from AndroidHot/vtex-shared-link
Update RepliesActivity.java
2 parents bea138a + 85ad62d commit a1ff935

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/codeest/geeknews/ui/vtex/activity/RepliesActivity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ public boolean onCreateOptionsMenu(Menu menu) {
133133
}
134134
break;
135135
case R.id.action_copy:
136-
SystemUtil.copyToClipBoard(mContext, VtexApis.REPLIES_URL + id);
136+
SystemUtil.copyToClipBoard(mContext, VtexApis.REPLIES_URL + topicId);
137137
return true;
138138
case R.id.action_share:
139-
ShareUtil.shareText(mContext, VtexApis.REPLIES_URL + id, "分享一篇文章");
139+
ShareUtil.shareText(mContext, VtexApis.REPLIES_URL + topicId, "分享一篇文章");
140140
}
141141
return super.onOptionsItemSelected(item);
142142
}

0 commit comments

Comments
 (0)