kptui: simplify title
This commit is contained in:
@@ -178,12 +178,7 @@ fn ui(frame: &mut Frame, app: &AppState, requested_view: ViewMode) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn render_conversations(frame: &mut Frame, app: &AppState, area: Rect, in_split: bool) {
|
fn render_conversations(frame: &mut Frame, app: &AppState, area: Rect, in_split: bool) {
|
||||||
let title = if in_split {
|
let title = "Kordophone";
|
||||||
"Conversations (↑/↓ move, ▸ cursor, ● unread)"
|
|
||||||
} else {
|
|
||||||
"Conversations (↑/↓ move, Enter open, ● unread)"
|
|
||||||
};
|
|
||||||
|
|
||||||
let items = app
|
let items = app
|
||||||
.conversations
|
.conversations
|
||||||
.iter()
|
.iter()
|
||||||
|
|||||||
Reference in New Issue
Block a user