From 0307f4a2489dcb29cc4e7316b84aa100bf6a94fc Mon Sep 17 00:00:00 2001 From: William Tumeo Date: Thu, 14 Mar 2019 21:17:03 -0300 Subject: [PATCH] Remove donation stuff and update version --- app/build.gradle | 3 +-- .../mbestyle/ui/fragment/AboutFragment.java | 18 ------------------ app/src/main/res/drawable-nodpi/adm.png | Bin 5885 -> 438 bytes app/src/main/res/layout/fragment_about.xml | 7 ------- build.gradle | 3 --- 5 files changed, 1 insertion(+), 30 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 6728bb6..73f3b08 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { minSdkVersion 17 targetSdkVersion 27 versionCode 26 - versionName "1.7.3" + versionName "0.1.3" resConfigs "en", "zh-rCN" } @@ -64,5 +64,4 @@ dependencies { implementation 'com.github.bumptech.glide:glide:4.0.0' implementation 'com.wang.avi:library:2.1.3' implementation 'com.google.code.gson:gson:2.8.1' - implementation 'moe.feng:AlipayZeroSdk:1.1' } \ No newline at end of file diff --git a/app/src/main/java/me/iacn/mbestyle/ui/fragment/AboutFragment.java b/app/src/main/java/me/iacn/mbestyle/ui/fragment/AboutFragment.java index f47a771..4336f2e 100644 --- a/app/src/main/java/me/iacn/mbestyle/ui/fragment/AboutFragment.java +++ b/app/src/main/java/me/iacn/mbestyle/ui/fragment/AboutFragment.java @@ -15,7 +15,6 @@ import me.iacn.mbestyle.ui.activity.LicenseActivity; import me.iacn.mbestyle.ui.widget.AboutItem; import me.iacn.mbestyle.util.GlideUtils; -import moe.feng.alipay.zerosdk.AlipayZeroSdk; /** * Created by iAcn on 2017/2/18 @@ -28,7 +27,6 @@ public class AboutFragment extends BaseFragment implements View.OnClickListener private AboutItem aiVersion; private AboutItem aiDesigner; private AboutItem aiDeveloper; - private AboutItem aiDonate; private AboutItem aiOpenSource; @Override @@ -42,7 +40,6 @@ protected void findView() { aiVersion = (AboutItem) findViewById(R.id.ai_version); aiDesigner = (AboutItem) findViewById(R.id.ai_designer); aiDeveloper = (AboutItem) findViewById(R.id.ai_developer); - aiDonate = (AboutItem) findViewById(R.id.ai_donate); aiOpenSource = (AboutItem) findViewById(R.id.ai_open_source); } @@ -51,7 +48,6 @@ protected void setListener() { aiVersion.setOnClickListener(this); aiDesigner.setOnClickListener(this); aiDeveloper.setOnClickListener(this); - aiDonate.setOnClickListener(this); aiOpenSource.setOnClickListener(this); } @@ -70,9 +66,6 @@ public void onClick(View v) { case R.id.ai_developer: openUrl("http://coolapk.com/u/532152"); break; - case R.id.ai_donate: - openAliPay(); - break; case R.id.ai_open_source: startActivity(new Intent(getActivity(), LicenseActivity.class)); break; @@ -88,15 +81,4 @@ private void openUrl(String url) { } } - private void openAliPay() { - if (AlipayZeroSdk.hasInstalledAlipayClient(getActivity())) { - AlipayZeroSdk.startAlipayClient(getActivity(), "aex08398iixbcgfl5ryqk3c"); - } else { - ((ClipboardManager) getActivity().getSystemService(Context.CLIPBOARD_SERVICE)) - .setPrimaryClip(ClipData.newPlainText(null, "18588533502")); - - Toast.makeText(getActivity(), - "未安装支付宝客户端\n已将支付宝ID复制到剪贴板", Toast.LENGTH_SHORT).show(); - } - } } \ No newline at end of file diff --git a/app/src/main/res/drawable-nodpi/adm.png b/app/src/main/res/drawable-nodpi/adm.png index f21397a69ee14909140d1890722b3a1177ace565..82d258a6416ed2a7e4830bc0d329bab70a18c535 100644 GIT binary patch literal 438 zcmeAS@N?(olHy`uVBq!ia0vp^2SAvK8A$4HYMBD0SkfJR9T^xl_H+M9WCijSl0AZa z85pY67#JE_7#My5g&JNkFq9fFFuY1&V6d9Oz#v{QXIG#NP=Y7GC&U#<8yK3DRuupL z|NrSLYmf%Uk|4ie28U-i(mLsX+uIJP^i_@#W5t~-rK8=Tnz?1tQX@hd4HP}s&UMJjoJjg^fJ!M-HX-= z=Dzh{VQ6_ERki3i1B2y*dom0GjF0_z83NcpGcc@RNM<-7mQc;0z>+0%!InXw$#Q>V zE<=M#KypG{|5JZKh93-7Yww%NGB)rOE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gJU z>3Y$bc?>-=FKUO4JI6@>A(5B#lqHWL&QA~Y_hG5KlVy^15`mpbaGYC_y)iE}I%k{TQOYUJF!3FJgjiB7P%eM*KN3zekLr~n$;Pr+&M(T{xSivlJ?r=B8i-^&jP zAys(w#Uh)8!w!->XDvlnLV{=0&FrV7R`|4e)3Q1>TGEY>#7xN%KU3T5#y>Z{X>kfi z1Y0#od*^=V82dF3332Z*9_5SkAk8eTN;>MMt~0hiL-R}83`Dc`^FLy+y0<-L8e#6* z;M-FQNBThg_XCntTQ{<4Ov(JYCuCoyXmh`vVA+kwP2>eI*DGHb7Pa$>W7p46Ff7O} zYUs!bwn(-*5z+a!>)wI-i%(0$3%@kF9C()9 zx{{*(VsR*R%ll=9sHS@?=qjQ2I!ZLh9SCG-RZ`E0h#`o AT>t<8 diff --git a/app/src/main/res/layout/fragment_about.xml b/app/src/main/res/layout/fragment_about.xml index b48eda3..c91d50b 100644 --- a/app/src/main/res/layout/fragment_about.xml +++ b/app/src/main/res/layout/fragment_about.xml @@ -38,13 +38,6 @@ app:summary="iAcn" app:title="开发" /> - -