Settings: Add app lock summary for 0 protected apps
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
@@ -110,7 +110,7 @@ class AppLockSettingsPreferenceController(
|
|||||||
|
|
||||||
private fun getSummaryForListSize(size: Int): CharSequence? =
|
private fun getSummaryForListSize(size: Int): CharSequence? =
|
||||||
if (size == 0) {
|
if (size == 0) {
|
||||||
null
|
mContext.getString(R.string.app_lock_packages_summary)
|
||||||
} else {
|
} else {
|
||||||
mContext.resources.getQuantityString(R.plurals.app_lock_summary, size, size)
|
mContext.resources.getQuantityString(R.plurals.app_lock_summary, size, size)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user