Browse Source

use function

master
yggverse 4 weeks ago
parent
commit
f66dfecc16
  1. 2
      src/app/browser/window/tab/item/page/content/text/gemini/reader.rs

2
src/app/browser/window/tab/item/page/content/text/gemini/reader.rs

@ -124,7 +124,7 @@ impl Reader {
buffer.insert(&mut buffer.end_iter(), "\n"); buffer.insert(&mut buffer.end_iter(), "\n");
// Update reader title using first gemtext header match // Update reader title using first gemtext header match
if title == None { if title.is_none() {
title = Some(header.value.clone()); title = Some(header.value.clone());
} }

Loading…
Cancel
Save