mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +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 inverted: bool,
|
||||||
pub style: GlyphStyle,
|
pub style: GlyphStyle,
|
||||||
pub helper_data: Option<Buffer<'a>>,
|
pub helper_data: Option<Buffer<'a>>,
|
||||||
pub name: String,
|
|
||||||
|
|
||||||
// optimize draw time
|
// optimize draw time
|
||||||
top_dirty: bool,
|
top_dirty: bool,
|
||||||
|
|
@ -39,7 +38,6 @@ pub struct Modal<'a> {
|
||||||
|
|
||||||
impl<'a> Modal<'a> {
|
impl<'a> Modal<'a> {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
name: &str,
|
|
||||||
action: ActionType,
|
action: ActionType,
|
||||||
top_text: Option<&str>,
|
top_text: Option<&str>,
|
||||||
bot_text: Option<&str>,
|
bot_text: Option<&str>,
|
||||||
|
|
@ -73,7 +71,6 @@ impl<'a> Modal<'a> {
|
||||||
inverted,
|
inverted,
|
||||||
style,
|
style,
|
||||||
helper_data: None,
|
helper_data: None,
|
||||||
name: String::from(name),
|
|
||||||
top_dirty: true,
|
top_dirty: true,
|
||||||
bot_dirty: true,
|
bot_dirty: true,
|
||||||
top_memoized_height: None,
|
top_memoized_height: None,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue