Skip to content

Commit 6ddce97

Browse files
committed
rebase from upstream
1 parent 95c3b0d commit 6ddce97

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

assets/fontello/config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@
205205
"css": "reply-1",
206206
"code": 59419,
207207
"src": "entypo"
208+
},
209+
{
208210
"uid": "757afacc32d82967975cbb3b45cfb41b",
209211
"css": "desktop",
210212
"code": 61704,

src/buffer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@ impl Buffer {
12651265
| Buffer::FileTransfers(_)
12661266
| Buffer::Logs(_)
12671267
| Buffer::Highlights(_)
1268+
| Buffer::ChannelMonitor(_)
12681269
| Buffer::ChannelDiscovery(_) => None,
12691270
Buffer::Server(state) => state.input_view.draft_reply(),
12701271
Buffer::Channel(state) => state.input_view.draft_reply(),
@@ -1278,6 +1279,7 @@ impl Buffer {
12781279
| Buffer::FileTransfers(_)
12791280
| Buffer::Logs(_)
12801281
| Buffer::Highlights(_)
1282+
| Buffer::ChannelMonitor(_)
12811283
| Buffer::ChannelDiscovery(_) => (),
12821284
Buffer::Server(state) => {
12831285
state.input_view.set_reply_preview(reply_preview);

src/buffer/channel_monitor.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,20 +216,16 @@ pub fn view<'a>(
216216
} else {
217217
link.url().map(|url| Context::Url {
218218
url,
219-
server_time: None,
220-
hash: None,
221-
msgid: None,
219+
message: None,
222220
selected_reactions: vec![],
223-
to_nick: None,
224-
reply_preview: None,
225-
redaction: None,
226221
})
227222
};
228223

229224
entry
230225
.view(context, length, config, theme)
231226
.map(scroll_view::Message::ContextMenu)
232227
},
228+
None,
233229
config,
234230
);
235231
Some(
@@ -293,6 +289,7 @@ pub fn view<'a>(
293289
theme::selectable_text::action,
294290
theme::font_style::action,
295291
Option::<fn(Color) -> Color>::None,
292+
None,
296293
config,
297294
);
298295

src/screen/dashboard/pane.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ impl Pane {
162162
.wrapping(Wrapping::None)
163163
.ellipsis(text::Ellipsis::End)
164164
.into(),
165-
Buffer::ChannelMonitor(_) => text("Channel Monitor").into(),
165+
Buffer::ChannelMonitor(_) => text("Channel Monitor")
166+
.wrapping(Wrapping::None)
167+
.ellipsis(text::Ellipsis::End)
168+
.into(),
166169
};
167170

168171
let title_bar = self.title_bar.view(

0 commit comments

Comments
 (0)