mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
enshort constructions
This commit is contained in:
parent
7e1c03f8dd
commit
6702f9c7d6
2 changed files with 7 additions and 15 deletions
|
|
@ -32,12 +32,8 @@ impl Sensitive {
|
|||
let form = Form::new_rc(
|
||||
action_send.clone(),
|
||||
title,
|
||||
match max_length {
|
||||
Some(value) => {
|
||||
Some(value - base.to_string_partial(UriHideFlags::QUERY).len() as i32)
|
||||
}
|
||||
None => None,
|
||||
},
|
||||
max_length
|
||||
.map(|value| value - base.to_string_partial(UriHideFlags::QUERY).len() as i32),
|
||||
);
|
||||
|
||||
// Init widget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue