]> git.ktnx.net Git - mobile-ledger.git/commitdiff
whitespace
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 16 Aug 2020 12:54:07 +0000 (15:54 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 16 Aug 2020 12:54:07 +0000 (15:54 +0300)
app/src/main/java/net/ktnx/mobileledger/async/RetrieveTransactionsTask.java
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java
app/src/main/res/navigation/new_transaction_navigation.xml

index 371013005173c211a32644999aed851ff0a3af8a..043dcce431ac2e25ff267a64134e75d48f9d150d 100644 (file)
@@ -276,7 +276,8 @@ public class RetrieveTransactionsTask
                             progress.setProgress(++processedTransactionCount);
                             if (maxTransactionId < transactionId)
                                 maxTransactionId = transactionId;
-                            if ((progress.isIndeterminate()) || (progress.getTotal() < transactionId))
+                            if ((progress.isIndeterminate()) ||
+                                (progress.getTotal() < transactionId))
                                 progress.setTotal(transactionId);
                             publishProgress(progress);
                         }
index bea94667085a961fb1ebd6ef309fb3080f932fc6..58468e88c33fef7ddf7ef06ca4fda8bf7dd5be6c 100644 (file)
@@ -229,8 +229,7 @@ public class TransactionListAdapter extends RecyclerView.Adapter<TransactionRowH
                     if (row == null) {
                         row = new LinearLayout(ctx);
                         LayoutInflater inflater = ((Activity) ctx).getLayoutInflater();
-                        inflater.inflate(
-                                R.layout.transaction_list_row_accounts_table_row, row);
+                        inflater.inflate(R.layout.transaction_list_row_accounts_table_row, row);
                         holder.tableAccounts.addView(row);
                     }
                     TextView dummyText = row.findViewById(R.id.dummy_text);
index 6f1fe29c3b7e015393c76440238e493c0dee39ba..734cd71e61680556f55c13f8a60b84c3f8ed00cb 100644 (file)
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-  ~ Copyright © 2019 Damyan Ivanov.
+<?xml version="1.0" encoding="utf-8"?><!--
+  ~ Copyright © 2020 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
 
 <navigation xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
-    xmlns:tools="http://schemas.android.com/tools"
     android:id="@+id/new_transaction_navigation"
-    app:startDestination="@id/newTransactionFragment">
+    app:startDestination="@id/newTransactionFragment"
+    >
 
     <fragment
         android:id="@+id/newTransactionFragment"
         android:name="net.ktnx.mobileledger.ui.activity.NewTransactionFragment"
-        android:label="NewTransactionFragment" >
+        android:label="NewTransactionFragment"
+        >
         <action
             android:id="@+id/action_newTransactionFragment_to_newTransactionSavingFragment"
             app:destination="@id/newTransactionSavingFragment"
             />
         <argument
             android:name="error"
+            android:defaultValue="@null"
             app:argType="string"
             app:nullable="true"
-            android:defaultValue="@null"/>
+            />
     </fragment>
     <fragment
         android:id="@+id/newTransactionSavingFragment"
         android:name="net.ktnx.mobileledger.ui.NewTransactionSavingFragment"
-        android:label="fragment_new_transaction_saving" >
+        android:label="fragment_new_transaction_saving"
+        >
         <action
             android:id="@+id/action_newTransactionSavingFragment_Success"
             app:destination="@id/newTransactionFragment"