Archived
WIP: web parser + ui
This commit is contained in:
1 parent
c00d42a7d8
commit
682af23f55
11 files changed
+540
-147
No files matched your search
@@ -37,7 +37,7 @@ namespace BookmarkManager
|
||||
return Result.Create(false, "Could not read file, unexpected format");
|
||||
}
|
||||
|
||||
List<BookmarkItemViewModel> rs = JsonConvert.DeserializeObject<List<BookmarkItemViewModel>>(sourceCode);
|
||||
List<BookmarkItem> rs = JsonConvert.DeserializeObject<List<BookmarkItem>>(sourceCode);
|
||||
if (rs == null)
|
||||
{
|
||||
return Result.Create(false, "Could not read file, incorrect format");
|
||||
@@ -69,7 +69,7 @@ namespace BookmarkManager
|
||||
|
||||
public override Result Save(BookmarkTreeView treeview, string filename, string password)
|
||||
{
|
||||
List<BookmarkItemViewModel> rs = treeview.GetBookmarkList();
|
||||
List<BookmarkItem> rs = treeview.GetBookmarkList();
|
||||
|
||||
bool rv = SharpZipLib.CreateSingle(filename, password, "bookmarks.json", JsonConvert.SerializeObject(rs));
|
||||
|
||||
|
||||
Reference in new issue
Block a user