File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 22
33import android .content .ClipData ;
44import android .content .ClipboardManager ;
5+ import android .content .Intent ;
56import android .content .pm .PackageInfo ;
67import android .content .pm .PackageManager ;
8+ import android .net .Uri ;
79import android .os .Build ;
810import android .os .Bundle ;
911import android .support .annotation .Nullable ;
@@ -100,7 +102,12 @@ Element getDonateElement() {
100102 }
101103 AlipayZeroSdk .startAlipayClient (AboutActivity .this , "FKX016770URBZGZSR37U37" );
102104 })
103- .setNegativeButton (R .string .donate_dialog_no , null )
105+ .setNegativeButton (R .string .donate_dialog_no , ((dialog , which ) -> {
106+ Intent intent = new Intent ();
107+ intent .setAction (Intent .ACTION_VIEW );
108+ intent .addCategory (Intent .CATEGORY_BROWSABLE );
109+ intent .setData (Uri .parse ("https://github.com/android-hacker/exposed" ));
110+ }))
104111 .create ();
105112 try {
106113 alertDialog .show ();
Original file line number Diff line number Diff line change 4545 <string name =" donate_dialog_title" >关于捐赠</string >
4646 <string name =" donate_dialog_content" >VAExposed 是开源、免费软件,但是用到的升级服务器和fir下载服务是我自己付费的,如果你喜欢VAExposed,可以略尽绵薄之力 ^_^ </string >
4747 <string name =" donate_dialog_yes" >去支付宝捐赠</string >
48- <string name =" donate_dialog_no" >先不了哈,加油~ </string >
48+ <string name =" donate_dialog_no" >去github点赞 </string >
4949 <string name =" large_app_install_tips" >安装大型APP可能需要花费较长的时间,请耐心等待~</string >
5050 <string name =" about_icon_title" >关于图标</string >
5151 <string name =" about_icon_content" >如果你不喜欢这个图标,赶紧为VAExposed设计一个吧!哈哈哈哈哈,我知道你们这些设计师肯定会看不下去的,啊哈哈哈</string >
You can’t perform that action at this time.
0 commit comments