mirror of
https://github.com/Xithrius/twitch-tui.git
synced 2024-09-11 13:45:30 +03:00
2.6.1 -> 2.6.2
Also, appeased the linter
This commit is contained in:
parent
bd41363a14
commit
4c382da4af
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2420,7 +2420,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
|
||||
|
||||
[[package]]
|
||||
name = "twitch-tui"
|
||||
version = "2.6.1"
|
||||
version = "2.6.2"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"chrono",
|
||||
|
@ -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"
|
||||
|
@ -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),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user