Add full-server activity to iOS home (#65)
This commit is contained in:
@@ -86,9 +86,16 @@ pub struct Settings {
|
||||
#[derive(uniffi::Object)]
|
||||
pub struct GotchaCore {
|
||||
state: Mutex<State>,
|
||||
server_activity: tokio::sync::Mutex<Option<ServerActivitySession>>,
|
||||
startup_error: Option<String>,
|
||||
}
|
||||
|
||||
struct ServerActivitySession {
|
||||
server_id: String,
|
||||
next_page: u32,
|
||||
pager: gotcha_gitea::ServerActivityPager,
|
||||
}
|
||||
|
||||
fn validate_repository<'a>(
|
||||
owner: &'a str,
|
||||
repository: &'a str,
|
||||
|
||||
Reference in New Issue
Block a user