mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 15:41:13 +00:00
* fix(apps): call chat sessions threads * test(apps): update thread wording expectations * fix(i18n): guard retained Android translations
19 lines
412 B
Swift
19 lines
412 B
Swift
import SwiftUI
|
|
|
|
struct MenuSessionsHeaderView: View {
|
|
let count: Int
|
|
let statusText: String?
|
|
|
|
var body: some View {
|
|
MenuHeaderCard(
|
|
title: "Context",
|
|
subtitle: self.subtitle,
|
|
statusText: self.statusText)
|
|
}
|
|
|
|
private var subtitle: String {
|
|
if self.count == 1 { return "1 thread · 24h" }
|
|
return "\(self.count) threads · 24h"
|
|
}
|
|
}
|