Rename app_init to android_init

This commit is contained in:
iris committed 2026-09-11 12:36:50 -04:00
1 parent c3122301b4
commit 40e7259d99
11 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ use iris::prelude::*;
#[path = "lib.rs"]
mod app;
#[iris::app_init]
#[iris::android_init]
fn create(
ui_state: &mut AndroidUiState,
rsc: &mut StdRsc<AndroidUiState>,
+1 -1
View File
@@ -3,7 +3,7 @@ use iris::prelude::*;
#[path = "lib.rs"]
mod app;
#[iris::app_init]
#[iris::android_init]
fn create(
ui_state: &mut AndroidUiState,
rsc: &mut StdRsc<AndroidUiState>,
+1 -1
View File
@@ -3,7 +3,7 @@ use iris::prelude::*;
#[path = "lib.rs"]
mod app;
#[iris::app_init]
#[iris::android_init]
fn create(
ui_state: &mut AndroidUiState,
rsc: &mut StdRsc<AndroidUiState>,
+1 -1
View File
@@ -22,7 +22,7 @@ impl AndroidAppState for Client {
}
}
#[iris::app_init]
#[iris::android_init]
fn create(mut ui_state: AndroidUiState, rsc: &mut StdRsc<Client>) -> Client {
let widgets = app::build(rsc, &mut ui_state);
app::update_info(rsc, widgets.info, 0);
+1 -1
View File
@@ -3,7 +3,7 @@ use iris::prelude::*;
#[path = "lib.rs"]
mod app;
#[iris::app_init]
#[iris::android_init]
fn create(
ui_state: &mut AndroidUiState,
rsc: &mut StdRsc<AndroidUiState>,
+1 -1
View File
@@ -3,7 +3,7 @@ use iris::prelude::*;
#[path = "lib.rs"]
mod app;
#[iris::app_init]
#[iris::android_init]
fn create(
ui_state: &mut AndroidUiState,
rsc: &mut StdRsc<AndroidUiState>,