-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bcee39
commit 0ff0d3f
Showing
1 changed file
with
0 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -416,19 +416,6 @@ public void openSupportDialog() { | |
@Override | ||
public void onClick(DialogInterface dialog, int which) { | ||
|
||
// E-mail support is no longer an option. | ||
|
||
// if (which == 0) { | ||
// Intent emailIntent = new Intent(Intent.ACTION_SENDTO, Uri.parse("mailto:[email protected]")); | ||
// boolean activityExists = emailIntent.resolveActivityInfo(getPackageManager(), 0) != null; | ||
// | ||
// if (activityExists) { | ||
// startActivity(emailIntent); | ||
// } else { | ||
// showSnackBar(getResources().getString(R.string.menu_support_error1), Snackbar.LENGTH_LONG); | ||
// } | ||
// } else { | ||
// Forum | ||
String url = "http://community.glucosio.org/"; | ||
Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); | ||
|
@@ -442,7 +429,6 @@ public void onClick(DialogInterface dialog, int which) { | |
i.setPackage(null); | ||
startActivity(i); | ||
} | ||
//} | ||
} | ||
}); | ||
builder.show(); | ||
|