Files
openclaw/apps/macos/Sources/OpenClaw/MenuSessionsHeaderView.swift
Peter Steinberger b57660d024 fix(apps): call chat sessions threads (#111038)
* fix(apps): call chat sessions threads

* test(apps): update thread wording expectations

* fix(i18n): guard retained Android translations
2026-07-18 20:34:12 -07:00

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"
}
}