mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Fix / bad format of trail item
This commit is contained in:
parent
f6ec7bc323
commit
909ee2cc85
2 changed files with 15 additions and 8 deletions
|
@ -47,16 +47,23 @@ class IncomingKeyRequestPagedController @Inject constructor(
|
|||
title(roomKeyRequest.requestId)
|
||||
description(
|
||||
span {
|
||||
span("From user: ${roomKeyRequest.userId}")
|
||||
+vectorDateFormatter.format(roomKeyRequest.localCreationTimestamp, DateFormatKind.DEFAULT_DATE_AND_TIME)
|
||||
span("sessionId:") {
|
||||
span("From: ") {
|
||||
textStyle = "bold"
|
||||
}
|
||||
span("${roomKeyRequest.userId}")
|
||||
+vectorDateFormatter.format(roomKeyRequest.localCreationTimestamp, DateFormatKind.DEFAULT_DATE_AND_TIME)
|
||||
span("\nsessionId:") {
|
||||
textStyle = "bold"
|
||||
}
|
||||
+"${roomKeyRequest.requestBody?.sessionId}"
|
||||
span("\nFrom device:") {
|
||||
textStyle = "bold"
|
||||
}
|
||||
+"${roomKeyRequest.deviceId}"
|
||||
+"\n${roomKeyRequest.state.name}"
|
||||
span("\nstate: ") {
|
||||
textStyle = "bold"
|
||||
}
|
||||
+roomKeyRequest.state.name
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
|
@ -43,19 +43,19 @@ class OutgoingKeyRequestPagedController @Inject constructor() : PagedListEpoxyCo
|
|||
title(roomKeyRequest.requestId)
|
||||
description(
|
||||
span {
|
||||
span("roomId:\n") {
|
||||
span("roomId: ") {
|
||||
textStyle = "bold"
|
||||
}
|
||||
+"${roomKeyRequest.roomId}"
|
||||
|
||||
span("sessionId:\n") {
|
||||
span("\nsessionId: ") {
|
||||
textStyle = "bold"
|
||||
}
|
||||
+"${roomKeyRequest.sessionId}"
|
||||
span("\nstate:") {
|
||||
span("\nstate: ") {
|
||||
textStyle = "bold"
|
||||
}
|
||||
+"\n${roomKeyRequest.state.name}"
|
||||
+roomKeyRequest.state.name
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue