fix large icon incorrect display in alert dialogs

This commit is contained in:
Nathan Freitas 2014-04-08 11:37:18 -04:00
parent bab67b7c13
commit ef14ac5c3e
1 changed files with 3 additions and 3 deletions

View File

@ -632,7 +632,7 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
else else
{ {
AlertDialog aDialog = new AlertDialog.Builder(Orbot.this) AlertDialog aDialog = new AlertDialog.Builder(Orbot.this)
.setIcon(R.drawable.onion) .setIcon(R.drawable.onion32)
.setTitle(R.string.install_apps_) .setTitle(R.string.install_apps_)
.setMessage(R.string.it_doesn_t_seem_like_you_have_orweb_installed_want_help_with_that_or_should_we_just_open_the_browser_) .setMessage(R.string.it_doesn_t_seem_like_you_have_orweb_installed_want_help_with_that_or_should_we_just_open_the_browser_)
.setPositiveButton(android.R.string.ok, new OnClickListener () .setPositiveButton(android.R.string.ok, new OnClickListener ()
@ -759,7 +759,7 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
if (button) if (button)
{ {
aDialog = new AlertDialog.Builder(Orbot.this) aDialog = new AlertDialog.Builder(Orbot.this)
.setIcon(R.drawable.onion) .setIcon(R.drawable.onion32)
.setTitle(title) .setTitle(title)
.setMessage(msg) .setMessage(msg)
.setPositiveButton(android.R.string.ok, null) .setPositiveButton(android.R.string.ok, null)
@ -768,7 +768,7 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
else else
{ {
aDialog = new AlertDialog.Builder(Orbot.this) aDialog = new AlertDialog.Builder(Orbot.this)
.setIcon(R.drawable.onion) .setIcon(R.drawable.onion32)
.setTitle(title) .setTitle(title)
.setMessage(msg) .setMessage(msg)
.show(); .show();