summaryrefslogtreecommitdiff
path: root/merchant-terminal/src/main/java/net/taler/merchantpos/order/CategoriesFragment.kt
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2023-03-08 15:55:07 -0300
committerTorsten Grote <t@grobox.de>2023-03-08 15:55:07 -0300
commite690df6d0eaacb60ca9edf1d4caf382711278b8b (patch)
tree2b07e0856413f482fe588d7956e6559a2f77dd3f /merchant-terminal/src/main/java/net/taler/merchantpos/order/CategoriesFragment.kt
parent34954e4c0c730910ee45dec85a64117aa57023c2 (diff)
downloadtaler-android-e690df6d0eaacb60ca9edf1d4caf382711278b8b.tar.gz
taler-android-e690df6d0eaacb60ca9edf1d4caf382711278b8b.tar.bz2
taler-android-e690df6d0eaacb60ca9edf1d4caf382711278b8b.zip
[pos] add button for adding custom products
Diffstat (limited to 'merchant-terminal/src/main/java/net/taler/merchantpos/order/CategoriesFragment.kt')
-rw-r--r--merchant-terminal/src/main/java/net/taler/merchantpos/order/CategoriesFragment.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/merchant-terminal/src/main/java/net/taler/merchantpos/order/CategoriesFragment.kt b/merchant-terminal/src/main/java/net/taler/merchantpos/order/CategoriesFragment.kt
index 69e74ce..8c8b1d5 100644
--- a/merchant-terminal/src/main/java/net/taler/merchantpos/order/CategoriesFragment.kt
+++ b/merchant-terminal/src/main/java/net/taler/merchantpos/order/CategoriesFragment.kt
@@ -55,10 +55,10 @@ class CategoriesFragment : Fragment(), CategorySelectionListener {
layoutManager = LinearLayoutManager(requireContext())
}
- orderManager.categories.observe(viewLifecycleOwner, { categories ->
+ orderManager.categories.observe(viewLifecycleOwner) { categories ->
adapter.setItems(categories)
ui.progressBar.visibility = INVISIBLE
- })
+ }
}
override fun onCategorySelected(category: Category) {