From b1011a6cc184cc7688de03de04db19a5cbb4312b Mon Sep 17 00:00:00 2001 From: lukeflo Date: Fri, 29 Nov 2024 11:26:50 +0100 Subject: new() fn for colors struct --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/tui/colors.rs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7d543d2..603b7a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -71,7 +71,7 @@ dependencies = [ [[package]] name = "bibiman" -version = "0.8.0" +version = "0.8.1" dependencies = [ "arboard", "biblatex", diff --git a/Cargo.toml b/Cargo.toml index 768dbdf..90ca55a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bibiman" -version = "0.8.0" +version = "0.8.1" authors = ["lukeflo "] license = "GPL-3.0-or-later" repository = "https://codeberg.org/lukeflo/bibiman" diff --git a/src/tui/colors.rs b/src/tui/colors.rs index 3ea6e86..1eb75ef 100644 --- a/src/tui/colors.rs +++ b/src/tui/colors.rs @@ -55,9 +55,9 @@ impl Default for AppColors { } impl AppColors { - // pub fn new() -> Self { - // Self::default() - // } + pub fn new() -> Self { + Self::default() + } pub fn main_text_color(&mut self, index: u8) { self.main_text_color = index -- cgit v1.2.3