Merge branch 'rethink-context' into rethink-activities

This commit is contained in:
veeso
2021-03-15 21:09:02 +01:00
14 changed files with 425 additions and 191 deletions

View File

@@ -145,7 +145,13 @@ impl AuthActivity {
)),
);
// Version notice
if let Some(version) = self.new_version.as_ref() {
if let Some(version) = self
.context
.as_ref()
.unwrap()
.store
.get_string(super::STORE_KEY_LATEST_VERSION)
{
self.view.mount(
super::COMPONENT_TEXT_NEW_VERSION,
Box::new(Text::new(