Fix increasing temporary blocking as child user

This commit is contained in:
Jonas Lochmann 2022-07-11 02:00:00 +02:00
parent 46c556284a
commit c63d61e31e
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36

View file

@ -120,7 +120,7 @@ class ManageChildCategoriesFragment : Fragment() {
SetCategorySpecialModeFragment.newInstance( SetCategorySpecialModeFragment.newInstance(
childId = params.childId, childId = params.childId,
categoryId = category.category.id, categoryId = category.category.id,
mode = SpecialModeDialogMode.Regular mode = if (auth.isParentAuthenticated()) SpecialModeDialogMode.Regular else SpecialModeDialogMode.SelfLimitAdd
).show(parentFragmentManager) ).show(parentFragmentManager)
false false