diff --git a/src/app/browser/window/tab/item/identity/gemini.rs b/src/app/browser/window/tab/item/identity/gemini.rs index 33441556..14646521 100644 --- a/src/app/browser/window/tab/item/identity/gemini.rs +++ b/src/app/browser/window/tab/item/identity/gemini.rs @@ -85,12 +85,12 @@ impl Gemini { .unwrap(), // @TODO }; - // Apply identity for given `auth_uri` + // Activate identity for given `auth_uri` profile .identity .gemini .auth - .apply(profile_identity_gemini_id, auth_url.as_str()) + .activate(profile_identity_gemini_id, auth_url.as_str()) .unwrap(); //@TODO handle errors // Reload page diff --git a/src/profile/identity/gemini/auth.rs b/src/profile/identity/gemini/auth.rs index d4bffd72..4114685e 100644 --- a/src/profile/identity/gemini/auth.rs +++ b/src/profile/identity/gemini/auth.rs @@ -41,7 +41,7 @@ impl Auth { /// * deactivate active auth by remove previous records from `Self` database /// * reindex `Self` memory index on success /// * return last insert `profile_identity_gemini_auth_id` on success - pub fn apply(&self, profile_identity_gemini_id: i64, url: &str) -> Result { + pub fn activate(&self, profile_identity_gemini_id: i64, url: &str) -> Result { // Get all records match request match self.database.records(Some(url)) { Ok(records) => {