]> git.ktnx.net Git - mobile-ledger.git/commitdiff
correct constant for vertival layout
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 23 Apr 2019 00:52:34 +0000 (03:52 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 23 Apr 2019 00:52:34 +0000 (03:52 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java

index 48b0e007f641e08b29553e4a1a4ddf080e22309b..aa5a2dfec277600f47e4b730c155b5f4534a8128 100644 (file)
@@ -43,6 +43,7 @@ import org.jetbrains.annotations.NotNull;
 import androidx.annotation.NonNull;
 import androidx.annotation.Nullable;
 import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
 
 import static android.content.Context.INPUT_METHOD_SERVICE;
 import static net.ktnx.mobileledger.utils.Logger.debug;
@@ -102,7 +103,7 @@ public class TransactionListFragment extends MobileLedgerListFragment {
 
         LinearLayoutManager llm = new LinearLayoutManager(mActivity);
 
-        llm.setOrientation(LinearLayoutManager.VERTICAL);
+        llm.setOrientation(RecyclerView.VERTICAL);
         root.setLayoutManager(llm);
 
         swiper.setOnRefreshListener(() -> {