translate all boolean values in diagnosis screen

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2024-04-03 12:41:18 +02:00 committed by backportbot[bot]
parent 7856aa0472
commit 0d044382a5

View file

@ -274,10 +274,18 @@ class DiagnoseActivity : BaseActivity() {
}
addKey(context.resources.getString(R.string.nc_diagnose_notification_calls_channel_permission))
addValue(NotificationUtils.isCallsNotificationChannelEnabled(this).toString())
addValue(
translateBoolean(
NotificationUtils.isCallsNotificationChannelEnabled(this)
)
)
addKey(context.resources.getString(R.string.nc_diagnose_notification_messages_channel_permission))
addValue(NotificationUtils.isMessagesNotificationChannelEnabled(this).toString())
addValue(
translateBoolean(
NotificationUtils.isMessagesNotificationChannelEnabled(this)
)
)
addKey(context.resources.getString(R.string.nc_diagnose_firebase_push_token_title))
if (appPreferences.pushToken.isNullOrEmpty()) {