mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
fix #371
cheeseball fix -- just don't draw the "please wait" message when in hosted mode (because everything mounts so fast, by the time you put up the please wait message, it's time to clear it).
This commit is contained in:
parent
d603317e0c
commit
a2413b7b34
1 changed files with 4 additions and 2 deletions
|
|
@ -53,6 +53,7 @@ mod oqc_test;
|
|||
#[cfg(feature="nettest")]
|
||||
mod nettests;
|
||||
|
||||
#[cfg(target_os = "xous")] // only draw "please wait" when not in hosted mode
|
||||
use locales::t;
|
||||
#[cfg(feature="tts")]
|
||||
use tts_frontend::*;
|
||||
|
|
@ -289,11 +290,12 @@ impl Repl{
|
|||
}
|
||||
)).expect("can't clear content area");
|
||||
}
|
||||
fn redraw(&mut self, init_done: bool) -> Result<(), xous::Error> {
|
||||
fn redraw(&mut self, _init_done: bool) -> Result<(), xous::Error> {
|
||||
log::trace!("going into redraw");
|
||||
self.clear_area();
|
||||
|
||||
if !init_done {
|
||||
#[cfg(target_os = "xous")] // only draw "please wait" if we're not in hosted mode
|
||||
if !_init_done {
|
||||
let mut init_tv = TextView::new(
|
||||
self.content,
|
||||
TextBounds::CenteredTop(
|
||||
|
|
|
|||
Loading…
Reference in a new issue