fix: text input layout & cargo fmt
This commit is contained in:
parent
d35dfad486
commit
6457481ae5
4 changed files with 89 additions and 22 deletions
|
|
@ -63,7 +63,9 @@ pub fn get_text(
|
|||
} else {
|
||||
step_array
|
||||
};
|
||||
let Some(index) = get_index(base_index, 70, step_array.len(), is_dark).or_else(|| get_index(base_index, 50, step_array.len(), is_dark)) else {
|
||||
let Some(index) = get_index(base_index, 70, step_array.len(), is_dark)
|
||||
.or_else(|| get_index(base_index, 50, step_array.len(), is_dark))
|
||||
else {
|
||||
return fallback.to_owned();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue