diff --git a/xExtension-ShareByEmail/Controllers/shareByEmailController.php b/xExtension-ShareByEmail/Controllers/shareByEmailController.php index a46f7887..77d08fca 100644 --- a/xExtension-ShareByEmail/Controllers/shareByEmailController.php +++ b/xExtension-ShareByEmail/Controllers/shareByEmailController.php @@ -56,7 +56,6 @@ public function shareAction(): void { if ($this->extension !== null) { Minz_View::appendStyle($this->extension->getFileUrl('shareByEmail.css')); } - $this->view->_layout('simple'); $this->view->to = ''; $this->view->subject = _t('shareByEmail.share.form.subject_default'); $this->view->content = _t( diff --git a/xExtension-ShareByEmail/Models/View.php b/xExtension-ShareByEmail/Models/View.php index be482ea5..43824bfa 100644 --- a/xExtension-ShareByEmail/Models/View.php +++ b/xExtension-ShareByEmail/Models/View.php @@ -4,11 +4,10 @@ namespace ShareByEmail\Models; -final class View extends \Minz_View { +final class View extends \FreshRSS_View { public ?\FreshRSS_Entry $entry = null; public string $content = ''; - public string $rss_url = ''; public string $subject = ''; public string $to = ''; } diff --git a/xExtension-ShareByEmail/metadata.json b/xExtension-ShareByEmail/metadata.json index 134e8a04..e8bba61e 100644 --- a/xExtension-ShareByEmail/metadata.json +++ b/xExtension-ShareByEmail/metadata.json @@ -2,7 +2,7 @@ "name": "Share By Email", "author": "Marien Fressinaud", "description": "Improve the sharing by email system.", - "version": "0.3.6", + "version": "0.4.0", "entrypoint": "ShareByEmail", "type": "user" }