mirror of
https://github.com/gsantner/dandelion
synced 2025-12-15 00:31:11 +01:00
Removed redundant changelog
This commit is contained in:
parent
881d5ed79d
commit
bb0ef44719
4 changed files with 4 additions and 47 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue