Fixed little lag when opening donations dialog
This commit is contained in:
parent
a4b2fd32c1
commit
9d9fdff13f
1 changed files with 3 additions and 4 deletions
|
|
@ -239,7 +239,7 @@ public class MainActivity extends AbsSlidingMusicPanelActivity
|
||||||
public void run() {
|
public void run() {
|
||||||
showDonationDialog();
|
showDonationDialog();
|
||||||
}
|
}
|
||||||
}, 200);
|
}, 300);
|
||||||
break;
|
break;
|
||||||
case R.id.nav_settings:
|
case R.id.nav_settings:
|
||||||
new Handler().postDelayed(new Runnable() {
|
new Handler().postDelayed(new Runnable() {
|
||||||
|
|
@ -255,7 +255,7 @@ public class MainActivity extends AbsSlidingMusicPanelActivity
|
||||||
public void run() {
|
public void run() {
|
||||||
new AboutDialog().show(getSupportFragmentManager(), "ABOUT_DIALOG");
|
new AboutDialog().show(getSupportFragmentManager(), "ABOUT_DIALOG");
|
||||||
}
|
}
|
||||||
}, 200);
|
}, 300);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -670,8 +670,7 @@ public class MainActivity extends AbsSlidingMusicPanelActivity
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onBillingError(int errorCode, Throwable error) {
|
public void onBillingError(int errorCode, Throwable error) {
|
||||||
Toast.makeText(this, "Billing error: code = " + errorCode +
|
Log.e(TAG, "Billing error: code = " + errorCode, error);
|
||||||
(error != null ? ", error: " + error.getMessage() : ""), Toast.LENGTH_SHORT).show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue