mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-21 20:45:29 +03:00
translate all boolean values in diagnosis screen
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
7856aa0472
commit
0d044382a5
1 changed files with 10 additions and 2 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue