pub enum ExampleData {
Tutorial(u8),
FakeData,
Real,
}Expand description
this is both used to flag a tutorial and for me to code when offline tutorial can be triggered using a specific url/token, on first lunch popup (todo) and an option in the settings screen (todo) for offline use we only need to mock the capability calls..so I simply skip the capability calls and make the appropriate model changes, ideally id like to call the functions directly but I can’t so settled on making the model changes
tutorial requires some UI thinking and will be done at a later date
Variants§
Tutorial(u8)
we shall increment the number and let the UI choose what should and shouldn’t be displayed for that number in the tutorial and also any actions the Ui should do as well. I think screens should reset the counter… but maybe not necessary counter is u8 because if my tutorial has more than 255 steps I have failed
FakeData
Real
Trait Implementations§
Source§impl Clone for ExampleData
impl Clone for ExampleData
Source§fn clone(&self) -> ExampleData
fn clone(&self) -> ExampleData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more