diff --git a/app/src/main/java/io/timelimit/android/ui/lock/LockReasonFragment.kt b/app/src/main/java/io/timelimit/android/ui/lock/LockReasonFragment.kt index d125764..f4e4aab 100644 --- a/app/src/main/java/io/timelimit/android/ui/lock/LockReasonFragment.kt +++ b/app/src/main/java/io/timelimit/android/ui/lock/LockReasonFragment.kt @@ -1,5 +1,5 @@ /* - * TimeLimit Copyright 2019 - 2020 Jonas Lochmann + * TimeLimit Copyright 2019 - 2021 Jonas Lochmann * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,6 +39,7 @@ class LockReasonFragment: Fragment() { BlockingLevel.Activity -> "Activity" BlockingLevel.App -> "App" } + binding.appCategoryTitle = if (content is LockscreenContent.Blocked.BlockedCategory) content.appCategoryTitle else null } }