From: Damyan Ivanov Date: Sun, 5 May 2019 13:42:23 +0000 (+0300) Subject: fix method signature X-Git-Tag: v0.10.0~18 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=a9f669055c4458c54e3ece1d2896e5ce0c28b920;p=mobile-ledger.git fix method signature --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java index d163aa28..c39ec9ae 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java @@ -275,10 +275,9 @@ public class NewTransactionActivity extends ProfileThemedActivity }); } - public boolean simulateCrash(MenuItem item) { + public void simulateCrash(MenuItem item) { debug("crash", "Will crash intentionally"); new AsyncCrasher().execute(); - return true; } public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present.