mirror of
https://github.com/Xithrius/twitch-tui.git
synced 2024-09-19 01:18:46 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
beae363402
commit
f34623b114
@ -49,7 +49,11 @@ pub fn merge_args_into_config(config: &mut CompleteConfig, args: Args) {
|
||||
}
|
||||
// Frontend section of the config
|
||||
if let Some(date_shown) = args.date_shown {
|
||||
config.frontend.date_shown = if let "true" = date_shown.as_str() { true } else { false };
|
||||
config.frontend.date_shown = if let "true" = date_shown.as_str() {
|
||||
true
|
||||
} else {
|
||||
false
|
||||
};
|
||||
}
|
||||
if let Some(maximum_username_length) = args.max_username_length {
|
||||
config.frontend.maximum_username_length = maximum_username_length;
|
||||
|
Loading…
Reference in New Issue
Block a user