mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
remove useless name argument in this version of the api
This commit is contained in:
parent
f731fadf89
commit
4872bbcee1
1 changed files with 0 additions and 3 deletions
|
|
@ -28,7 +28,6 @@ pub struct Modal<'a> {
|
|||
pub inverted: bool,
|
||||
pub style: GlyphStyle,
|
||||
pub helper_data: Option<Buffer<'a>>,
|
||||
pub name: String,
|
||||
|
||||
// optimize draw time
|
||||
top_dirty: bool,
|
||||
|
|
@ -39,7 +38,6 @@ pub struct Modal<'a> {
|
|||
|
||||
impl<'a> Modal<'a> {
|
||||
pub fn new(
|
||||
name: &str,
|
||||
action: ActionType,
|
||||
top_text: Option<&str>,
|
||||
bot_text: Option<&str>,
|
||||
|
|
@ -73,7 +71,6 @@ impl<'a> Modal<'a> {
|
|||
inverted,
|
||||
style,
|
||||
helper_data: None,
|
||||
name: String::from(name),
|
||||
top_dirty: true,
|
||||
bot_dirty: true,
|
||||
top_memoized_height: None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue