2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-10 13:10:54 +00:00

bookmarks append to the file

This commit is contained in:
dvkt 2020-01-02 18:59:09 -08:00
parent f8ef98b032
commit 19c962da2f

View File

@ -39,7 +39,7 @@ pub fn as_raw_menu() -> String {
// save a single bookmark entry // save a single bookmark entry
pub fn save(label: &str, url: &str) -> Result<()> { pub fn save(label: &str, url: &str) -> Result<()> {
config::prepend( config::append(
BOOKMARKS_FILE, BOOKMARKS_FILE,
label label
.trim_start_matches("gopher://") .trim_start_matches("gopher://")