mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Merge pull request #4981 from element-hq/feature/fga/log_pack_notif
misc (tracing) : add new TraceLogPack.Notification
This commit is contained in:
+3
@@ -16,6 +16,9 @@ enum class TraceLogPack(val key: String) {
|
|||||||
},
|
},
|
||||||
TIMELINE("timeline") {
|
TIMELINE("timeline") {
|
||||||
override val title: String = "Timeline"
|
override val title: String = "Timeline"
|
||||||
|
},
|
||||||
|
NOTIFICATION_CLIENT("notification_client") {
|
||||||
|
override val title: String = "Notification Client"
|
||||||
};
|
};
|
||||||
|
|
||||||
abstract val title: String
|
abstract val title: String
|
||||||
|
|||||||
+1
@@ -14,6 +14,7 @@ fun TraceLogPack.map(): RustTraceLogPack = when (this) {
|
|||||||
TraceLogPack.SEND_QUEUE -> RustTraceLogPack.SEND_QUEUE
|
TraceLogPack.SEND_QUEUE -> RustTraceLogPack.SEND_QUEUE
|
||||||
TraceLogPack.EVENT_CACHE -> RustTraceLogPack.EVENT_CACHE
|
TraceLogPack.EVENT_CACHE -> RustTraceLogPack.EVENT_CACHE
|
||||||
TraceLogPack.TIMELINE -> RustTraceLogPack.TIMELINE
|
TraceLogPack.TIMELINE -> RustTraceLogPack.TIMELINE
|
||||||
|
TraceLogPack.NOTIFICATION_CLIENT -> RustTraceLogPack.NOTIFICATION_CLIENT
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Collection<TraceLogPack>.map(): List<RustTraceLogPack> {
|
fun Collection<TraceLogPack>.map(): List<RustTraceLogPack> {
|
||||||
|
|||||||
Reference in New Issue
Block a user