1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-12-15 00:31:11 +01:00

Removed redundant changelog

This commit is contained in:
vanitasvitae 2016-07-04 16:04:38 +02:00
parent 881d5ed79d
commit bb0ef44719
4 changed files with 4 additions and 47 deletions

View file

@ -938,7 +938,7 @@ public class MainActivity extends AppCompatActivity
break;
case R.id.nav_license_help: {
final CharSequence[] options = {getString(R.string.help_license), getString(R.string.help_about), getString(R.string.help_help)};
final CharSequence[] options = {getString(R.string.help_license), getString(R.string.help_help)};
new AlertDialog.Builder(MainActivity.this)
.setItems(options, new DialogInterface.OnClickListener() {
@Override
@ -953,16 +953,6 @@ public class MainActivity extends AppCompatActivity
d.show();
((TextView) d.findViewById(android.R.id.message)).setMovementMethod(LinkMovementMethod.getInstance());
}
if (options[item].equals(getString(R.string.help_about))) {
final SpannableString s = new SpannableString(Html.fromHtml(getString(R.string.about_text)));
Linkify.addLinks(s, Linkify.WEB_URLS);
final AlertDialog d = new AlertDialog.Builder(MainActivity.this)
.setTitle(R.string.help_about)
.setMessage(s)
.setPositiveButton(android.R.string.yes, null).show();
d.show();
((TextView) d.findViewById(android.R.id.message)).setMovementMethod(LinkMovementMethod.getInstance());
}
if (options[item].equals(getString(R.string.help_help))) {
new AlertDialog.Builder(MainActivity.this)
.setTitle(R.string.help_help)