Added shared bookmarks screen and archived bookmarks screen

This commit is contained in:
Juan Gilsanz Polo
2024-02-28 01:13:55 +01:00
parent 4633023b4f
commit 06df3c2e0a
18 changed files with 663 additions and 236 deletions

View File

@@ -145,7 +145,7 @@ class BookmarkCommonFunctions {
if (result.successful == true) {
showSnackbar(
key: scaffoldMessengerKey,
label: bookmark.isArchived == true
label: bookmark.shared == true
? t.bookmarks.shareOptions.bookmarkUnsharedSuccessfully
: t.bookmarks.shareOptions.bookmarkSharedSuccessfully,
color: Colors.green,
@@ -154,7 +154,7 @@ class BookmarkCommonFunctions {
} else {
showSnackbar(
key: scaffoldMessengerKey,
label: bookmark.isArchived == true
label: bookmark.shared == true
? t.bookmarks.shareOptions.bookmarkNotUnshared
: t.bookmarks.shareOptions.bookmarkNotShared,
color: Colors.red,