Improve bookmarks navigation, scoping, search, and bulk actions
Add Bookmarks to the Contacts overflow menu, open the dedicated BookmarksScreen from direct and channel chat menus with a split scope pill (All vs current chat), add in-screen bookmark search with scroll-and-highlight jump, support bulk bookmarking from channel selection mode and bulk removal in BookmarksScreen, and prompt with a confirmation dialog before removing single or selected bookmarks.
This commit is contained in:
1 parent
d4a6839413
commit
32977bdd50
32 files changed
+1817
-230
No files matched your search
@@ -10,6 +10,7 @@ class TranslatedMessageContent extends StatelessWidget {
|
||||
final Color? backgroundColor;
|
||||
final bool showOriginalFirst;
|
||||
final VoidCallback? onSecondaryTap;
|
||||
final bool selectable;
|
||||
|
||||
const TranslatedMessageContent({
|
||||
super.key,
|
||||
@@ -20,6 +21,7 @@ class TranslatedMessageContent extends StatelessWidget {
|
||||
this.backgroundColor,
|
||||
this.showOriginalFirst = true,
|
||||
this.onSecondaryTap,
|
||||
this.selectable = true,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -42,6 +44,7 @@ class TranslatedMessageContent extends StatelessWidget {
|
||||
),
|
||||
backgroundColor: backgroundColor,
|
||||
onSecondaryTap: onSecondaryTap,
|
||||
selectable: selectable,
|
||||
)
|
||||
: null;
|
||||
final translatedWidget = LinkHandler.buildLinkifyText(
|
||||
@@ -50,6 +53,7 @@ class TranslatedMessageContent extends StatelessWidget {
|
||||
style: style,
|
||||
backgroundColor: backgroundColor,
|
||||
onSecondaryTap: onSecondaryTap,
|
||||
selectable: selectable,
|
||||
);
|
||||
|
||||
if (!shouldShowOriginal) {
|
||||
|
||||
Reference in new issue
Block a user