mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-20 05:39:52 -07:00
Address some warnings and typos (#408)
This commit is contained in:
parent
2b6363f529
commit
591fc0af83
5 changed files with 5 additions and 5 deletions
|
@ -961,7 +961,7 @@ impl Message {
|
|||
vwctx: &ViewportContext<MessageCursor>,
|
||||
info: &'a RoomInfo,
|
||||
settings: &'a ApplicationSettings,
|
||||
) -> (Text<'a>, Option<(&dyn Protocol, u16, u16)>) {
|
||||
) -> (Text<'a>, Option<(&'a dyn Protocol, u16, u16)>) {
|
||||
let width = vwctx.get_width();
|
||||
|
||||
let style = self.get_render_style(selected, settings);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
//!
|
||||
//! Additionally, some of the iamb commands delegate behaviour to the current UI element. For
|
||||
//! example, [sending messages][crate::base::SendAction] delegate to the [room window][RoomState],
|
||||
//! where we have the message bar and room ID easily accesible and resetable.
|
||||
//! where we have the message bar and room ID easily accessible and resettable.
|
||||
use std::cmp::{Ord, Ordering, PartialOrd};
|
||||
use std::fmt::{self, Display};
|
||||
use std::ops::Deref;
|
||||
|
|
|
@ -1311,7 +1311,7 @@ impl ClientWorker {
|
|||
// Remove the session.json file.
|
||||
std::fs::remove_file(&self.settings.session_json)?;
|
||||
|
||||
Ok(Some(InfoMessage::from("Sucessfully logged out")))
|
||||
Ok(Some(InfoMessage::from("Successfully logged out")))
|
||||
}
|
||||
|
||||
async fn direct_message(&mut self, user: OwnedUserId) -> IambResult<OwnedRoomId> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue