]> git.ktnx.net Git - mobile-ledger.git/commitdiff
rename a method to better reflect its function
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 5 May 2021 15:43:48 +0000 (18:43 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 5 May 2021 15:43:48 +0000 (18:43 +0300)
app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java
app/src/main/java/net/ktnx/mobileledger/async/TaskCallback.java
app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionActivity.java

index a79a9a63e9430183712ff674cf792c6992494f19..e7a26beb852f443073c3fcf58022335a467189b6 100644 (file)
@@ -307,7 +307,7 @@ public class SendTransactionTask extends AsyncTask<LedgerTransaction, Void, Void
     @Override
     protected void onPostExecute(Void aVoid) {
         super.onPostExecute(aVoid);
-        taskCallback.done(error, transaction);
+        taskCallback.onTransactionSaveDone(error, transaction);
     }
 
 }
\ No newline at end of file
index 28f5e0eb08499585f7028143c64fb41217717c34..3f065e0b7b1d1e50088909ef7b9cb444f6518722 100644 (file)
@@ -18,5 +18,5 @@
 package net.ktnx.mobileledger.async;
 
 public interface TaskCallback {
-    void done(String error, Object args);
+    void onTransactionSaveDone(String error, Object args);
 }
index 51f872f6fef08c612c0c1d24d1b2436b1b9105fe..2daf048369d16138eb0a1fc71d4765e6bdaff939 100644 (file)
@@ -198,7 +198,7 @@ public class NewTransactionActivity extends ProfileThemedActivity
                 getResources().getDisplayMetrics()));
     }
     @Override
-    public void done(String error, Object arg) {
+    public void onTransactionSaveDone(String error, Object arg) {
         Bundle b = new Bundle();
         if (error != null) {
             b.putString("error", error);