Make the sticky navbar an option

This commit is contained in:
Julian Pollinger
2021-01-07 18:49:11 +01:00
parent 19df1cf65d
commit 251bd88f70
7 changed files with 42 additions and 4 deletions

View File

@@ -212,6 +212,7 @@ def user_settings(request):
up.ingredient_decimals = form.cleaned_data['ingredient_decimals']
up.comments = form.cleaned_data['comments']
up.use_fractions = form.cleaned_data['use_fractions']
up.sticky_navbar = form.cleaned_data['sticky_navbar']
up.shopping_auto_sync = form.cleaned_data['shopping_auto_sync']
if up.shopping_auto_sync < settings.SHOPPING_MIN_AUTOSYNC_INTERVAL: