mirror of
https://codeberg.org/timelimit/timelimit-android.git
synced 2025-10-06 11:59:57 +02:00
Show the title of the blocked category at the lockscreen
This commit is contained in:
parent
e092a825ec
commit
9da0afe4fb
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* TimeLimit Copyright <C> 2019 - 2020 Jonas Lochmann
|
* TimeLimit Copyright <C> 2019 - 2021 Jonas Lochmann
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -39,6 +39,7 @@ class LockReasonFragment: Fragment() {
|
||||||
BlockingLevel.Activity -> "Activity"
|
BlockingLevel.Activity -> "Activity"
|
||||||
BlockingLevel.App -> "App"
|
BlockingLevel.App -> "App"
|
||||||
}
|
}
|
||||||
|
binding.appCategoryTitle = if (content is LockscreenContent.Blocked.BlockedCategory) content.appCategoryTitle else null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue