diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-03-23 23:45:08 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2020-03-24 12:06:45 +0300 |
commit | 846059d522cdebd00b22d8999a80a10c8a785ff7 (patch) | |
tree | 5955f7366a6ae543a8dea51d68c13a83b7f0a176 /app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments | |
parent | 6adfacc7887e2e8d9dd939db41d7f029046c9619 (diff) |
Refactoring
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsFragment.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsFragment.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsFragment.java index dda2f101f..262734632 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsFragment.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/card/comments/CardCommentsFragment.java @@ -21,8 +21,6 @@ import static it.niedermann.nextcloud.deck.ui.card.CardAdapter.BUNDLE_KEY_LOCAL_ public class CardCommentsFragment extends Fragment { - private FragmentCardEditTabCommentsBinding binding; - private Long accountId; private long localId; private boolean canEdit = false; @@ -55,9 +53,8 @@ public class CardCommentsFragment extends Fragment { public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - binding = FragmentCardEditTabCommentsBinding.inflate(inflater, container, false); + FragmentCardEditTabCommentsBinding binding = FragmentCardEditTabCommentsBinding.inflate(inflater, container, false); - binding.comments.setNestedScrollingEnabled(false); SyncManager syncManager = new SyncManager(requireActivity()); syncManager.readAccount(accountId).observe(requireActivity(), (account -> { syncManager.getCommentsForLocalCardId(localId).observe(requireActivity(), |