Skip using map
This commit is contained in:
parent
439df24526
commit
0ee4ad6ba0
1 changed files with 3 additions and 3 deletions
|
@ -329,11 +329,11 @@ impl Render for FeedbackModal {
|
|||
)
|
||||
}
|
||||
)
|
||||
.map(|this|
|
||||
.color(
|
||||
if valid_character_count {
|
||||
this.color(Color::Success)
|
||||
Color::Success
|
||||
} else {
|
||||
this.color(Color::Error)
|
||||
Color::Error
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue