diff --git a/library/ui-strings/src/main/res/values/strings.xml b/library/ui-strings/src/main/res/values/strings.xml
index dec46159dd..c436044153 100644
--- a/library/ui-strings/src/main/res/values/strings.xml
+++ b/library/ui-strings/src/main/res/values/strings.xml
@@ -1697,13 +1697,15 @@
No push rules defined
No registered push gateways
- app_id:
- push_key:
- app_display_name:
- session_name:
+ App ID:
+ Push Key:
+ App Display Name:
+ Device Display Name:
+ Device ID:
Url:
Format:
Profile tag:
+ Enabled:
Voice & Video
Help & About
diff --git a/vector/src/main/java/im/vector/app/features/settings/push/PushGatewayItem.kt b/vector/src/main/java/im/vector/app/features/settings/push/PushGatewayItem.kt
index 5ef6e02330..4fa1e422a1 100644
--- a/vector/src/main/java/im/vector/app/features/settings/push/PushGatewayItem.kt
+++ b/vector/src/main/java/im/vector/app/features/settings/push/PushGatewayItem.kt
@@ -50,6 +50,8 @@ abstract class PushGatewayItem : VectorEpoxyModel(R.layo
holder.format.setTextOrHide(pusher.data.format, hideWhenBlank = true, holder.formatTitle)
holder.profileTag.setTextOrHide(pusher.profileTag, hideWhenBlank = true, holder.profileTagTitle)
holder.deviceName.text = pusher.deviceDisplayName
+ holder.deviceId.text = pusher.deviceId ?: "null"
+ holder.enabled.text = pusher.enabled.toString()
holder.removeButton.setOnClickListener {
interactions.onRemovePushTapped(pusher)
}
@@ -59,10 +61,12 @@ abstract class PushGatewayItem : VectorEpoxyModel(R.layo
val kind by bind(R.id.pushGatewayKind)
val pushKey by bind(R.id.pushGatewayKeyValue)
val deviceName by bind(R.id.pushGatewayDeviceNameValue)
+ val deviceId by bind(R.id.pushGatewayDeviceIdValue)
val formatTitle by bind(R.id.pushGatewayFormat)
val format by bind(R.id.pushGatewayFormatValue)
val profileTagTitle by bind(R.id.pushGatewayProfileTag)
val profileTag by bind(R.id.pushGatewayProfileTagValue)
+ val enabled by bind(R.id.pushGatewayEnabledValue)
val urlTitle by bind(R.id.pushGatewayURL)
val url by bind(R.id.pushGatewayURLValue)
val appName by bind(R.id.pushGatewayAppNameValue)
diff --git a/vector/src/main/res/layout/item_pushgateway.xml b/vector/src/main/res/layout/item_pushgateway.xml
index afc40e5b7a..67a3a7d390 100644
--- a/vector/src/main/res/layout/item_pushgateway.xml
+++ b/vector/src/main/res/layout/item_pushgateway.xml
@@ -83,6 +83,23 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
+ tools:text="Pixel 6" />
+
+
+
+
+
+
+
+