rename action

This commit is contained in:
yggverse 2024-09-28 03:59:05 +03:00
parent ae2bb93ea7
commit 7587e02aff
5 changed files with 14 additions and 14 deletions

View file

@ -21,9 +21,9 @@ pub struct Text {
impl Text {
// Construct
pub fn gemini(gemtext: &str, base: &Uri, action_open: Arc<SimpleAction>) -> Self {
pub fn gemini(gemtext: &str, base: &Uri, action_page_open: Arc<SimpleAction>) -> Self {
// Init components
let gemini = Gemini::new(gemtext, base, action_open);
let gemini = Gemini::new(gemtext, base, action_page_open);
// Init meta
let meta = Meta {