Skip to content

Commit d9f1b8c

Browse files
Increased recent items limit from 30 to 120 (#804)
Co-authored-by: Tom Bursch <tombursch@gmail.com>
1 parent 2ece2d7 commit d9f1b8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/app/controller/shoppinglist/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
class GetShoppingLists(Schema):
55
orderby = fields.Integer()
6-
recent_limit = fields.Integer(load_default=9, validate=lambda x: x > 0 and x <= 60)
6+
recent_limit = fields.Integer(load_default=9, validate=lambda x: x > 0 and x <= 120)
77

88

99
class AddItemByName(Schema):

kitchenowl/lib/pages/settings_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class _SettingsPageState extends State<SettingsPage> {
336336
.setRecentItemsCount,
337337
defaultValue: 9,
338338
lowerBound: 0,
339-
upperBound: 30,
339+
upperBound: 120,
340340
),
341341
),
342342
ListTile(

0 commit comments

Comments
 (0)