2.6.1 -> 2.6.2

Also, appeased the linter
This commit is contained in:
Xithrius 2023-12-17 11:46:53 -08:00
parent bd41363a14
commit 4c382da4af
No known key found for this signature in database
GPG Key ID: DF6738B80C155B71
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

@ -2420,7 +2420,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
[[package]]
name = "twitch-tui"
version = "2.6.1"
version = "2.6.2"
dependencies = [
"base64",
"chrono",

View File

@ -1,6 +1,6 @@
[package]
name = "twitch-tui"
version = "2.6.1"
version = "2.6.2"
authors = ["Xithrius <xithrius@gmail.com>"]
edition = "2021"
rust-version = "1.65.0"

View File

@ -228,12 +228,12 @@ impl Component for ChatWidget {
let list = List::new(&*final_messages)
.block(
if !self.config.borrow().frontend.hide_chat_border {
if self.config.borrow().frontend.hide_chat_border {
Block::default()
} else {
Block::default()
.borders(Borders::ALL)
.border_type(self.config.borrow().frontend.border_type.clone().into())
} else {
Block::default()
}
.title(chat_title),
)