Skip to content

Commit

Permalink
fix pimalaya-tui package name
Browse files Browse the repository at this point in the history
  • Loading branch information
soywod committed Sep 1, 2024
1 parent 126e023 commit fb88956
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ pub struct Config {
pub accounts: HashMap<String, AccountConfig>,
}

impl TomlConfig<AccountConfig> for Config {}
impl TomlConfig<AccountConfig> for Config {
fn project_name() -> &'static str {
env!("CARGO_PKG_NAME")
}
}

impl Config {
/// Create and save a TOML configuration using the wizard.
Expand Down

0 comments on commit fb88956

Please sign in to comment.