修复安卓5闪退bug

pull/5/head v1.20.110921
fengyuecanzhu 4 years ago
parent 4b2a357197
commit 38b42f07e5
  1. 9
      app/src/main/java/xyz/fycz/myreader/ui/activity/AboutActivity.java

@ -60,15 +60,6 @@ public class AboutActivity extends BaseActivity {
@Override
protected void initClick() {
super.initClick();
ClipboardManager mClipboardManager = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE);
/*vmAuthor.setOnClickListener(v -> {
//数据
ClipData mClipData = ClipData.newPlainText("Label", "fy@fycz.xyz");
//把数据设置到剪切板上
assert mClipboardManager != null;
mClipboardManager.setPrimaryClip(mClipData);
ToastUtils.showSuccess("邮箱复制成功!");
});*/
vmShare.setOnClickListener(v -> ShareUtils.share(this, getString(R.string.share_text) +
SharedPreUtils.getInstance().getString(getString(R.string.downloadLink, URLCONST.LAN_ZOUS_URL))));
vmUpdate.setOnClickListener(v -> MyApplication.checkVersionByServer(this, true, null));

Loading…
Cancel
Save