Add interactive GPS coordinates in messages
This commit is contained in:
1 parent
2f8fcb87d7
commit
05b47a037b
33 files changed
+1985
-84
No files matched your search
@@ -7,6 +7,7 @@ class TranslatedMessageContent extends StatelessWidget {
|
||||
final String? originalText;
|
||||
final TextStyle style;
|
||||
final TextStyle? originalStyle;
|
||||
final Color? backgroundColor;
|
||||
final bool showOriginalFirst;
|
||||
final VoidCallback? onSecondaryTap;
|
||||
|
||||
@@ -16,6 +17,7 @@ class TranslatedMessageContent extends StatelessWidget {
|
||||
required this.style,
|
||||
this.originalText,
|
||||
this.originalStyle,
|
||||
this.backgroundColor,
|
||||
this.showOriginalFirst = true,
|
||||
this.onSecondaryTap,
|
||||
});
|
||||
@@ -38,6 +40,7 @@ class TranslatedMessageContent extends StatelessWidget {
|
||||
fontStyle: FontStyle.italic,
|
||||
fontSize: style.fontSize,
|
||||
),
|
||||
backgroundColor: backgroundColor,
|
||||
onSecondaryTap: onSecondaryTap,
|
||||
)
|
||||
: null;
|
||||
@@ -45,6 +48,7 @@ class TranslatedMessageContent extends StatelessWidget {
|
||||
context: context,
|
||||
text: trimmedDisplay,
|
||||
style: style,
|
||||
backgroundColor: backgroundColor,
|
||||
onSecondaryTap: onSecondaryTap,
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user