Browse Source

use page title on create bookmark

PHP-GTK3
yggverse 4 months ago
parent
commit
c7d638f6f8
  1. 3
      src/Entity/Browser/Container/Page/Navbar/Bookmark.php

3
src/Entity/Browser/Container/Page/Navbar/Bookmark.php

@ -24,7 +24,8 @@ class Bookmark extends Button @@ -24,7 +24,8 @@ class Bookmark extends Button
{
$this->setImage(
$this->navbar->page->container->browser->database->toggleBookmark(
$this->navbar->request->getValue()
$this->navbar->request->getValue(),
$this->navbar->page->title->getValue()
) ? self::_IMAGE_STARRED_YES : self::_IMAGE_STARRED_NON
);
}

Loading…
Cancel
Save