update comments

This commit is contained in:
yggverse 2024-11-27 19:24:15 +02:00
parent c728d1c001
commit 2fabc6b38e

View File

@ -405,7 +405,7 @@ impl Page {
// Private helpers // Private helpers
// @TODO move outside // @TODO move somewhere outside
fn load_gemini(&self, uri: Uri, is_history: bool) { fn load_gemini(&self, uri: Uri, is_history: bool) {
// Init shared clones // Init shared clones
let cancellable = self.cancellable.borrow().clone(); let cancellable = self.cancellable.borrow().clone();
@ -423,6 +423,7 @@ impl Page {
.identity .identity
.gemini(&self.navigation.request().widget().gobject().text()) .gemini(&self.navigation.request().widget().gobject().text())
{ {
// @TODO delegate to client
Some(pem) => match TlsCertificate::from_pem(&pem) { Some(pem) => match TlsCertificate::from_pem(&pem) {
Ok(certificate) => Some(certificate), Ok(certificate) => Some(certificate),
Err(reason) => todo!("{reason}"), Err(reason) => todo!("{reason}"),