Skip to content

Commit 14dd92b

Browse files
committed
Fix adding bookmark on mobile
1 parent 00e5fab commit 14dd92b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/widgets/window.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,7 @@ impl Window {
603603
self.current_tab().reload();
604604
}
605605
fn bookmark_current(&self) {
606-
let imp = self.imp();
607-
let url = imp.url_bar.text().to_string();
606+
let url = self.active_url_bar().text().to_string();
608607
glibctx().spawn_local(async move {
609608
match Self::append_bookmark(&url).await {
610609
Ok(_) => info!("{} saved to bookmarks", url),

0 commit comments

Comments
 (0)