Skip to content

Commit

Permalink
update v6.9
Browse files Browse the repository at this point in the history
  • Loading branch information
YangDai2003 committed Apr 19, 2024
1 parent 4937182 commit 34d094b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,7 @@ public void onDestroy() {

@SuppressLint("SetTextI18n")
private void init(View view) {
view.findViewById(R.id.about_rate).setOnClickListener(v -> {
Uri uri = Uri.parse("https://play.google.com/store/apps/details?id=com.yangdai.calc");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
});
view.findViewById(R.id.about_rate).setOnClickListener(v -> webIntent.launchUrl(requireContext(), Uri.parse("https://play.google.com/store/apps/details?id=com.yangdai.calc")));
view.findViewById(R.id.about_share).setOnClickListener(v -> {
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType("text/plain");
Expand Down

0 comments on commit 34d094b

Please sign in to comment.