rename messagementions to messagelinks

This commit is contained in:
Salvatore Giordano
2020-07-21 10:39:18 +02:00
parent 7dea0bdacd
commit 9c287e02ba
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -124,7 +124,7 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
messageBackgroundColor: messageBackgroundColor:
themeData?.ownMessageTheme?.messageBackgroundColor, themeData?.ownMessageTheme?.messageBackgroundColor,
messageAuthor: themeData?.ownMessageTheme?.messageAuthor, messageAuthor: themeData?.ownMessageTheme?.messageAuthor,
messageMention: themeData?.ownMessageTheme?.messageLinks, messageLinks: themeData?.ownMessageTheme?.messageLinks,
avatarTheme: defaultTheme.ownMessageTheme.avatarTheme.copyWith( avatarTheme: defaultTheme.ownMessageTheme.avatarTheme.copyWith(
constraints: themeData?.ownMessageTheme?.avatarTheme?.constraints, constraints: themeData?.ownMessageTheme?.avatarTheme?.constraints,
borderRadius: themeData?.ownMessageTheme?.avatarTheme?.borderRadius, borderRadius: themeData?.ownMessageTheme?.avatarTheme?.borderRadius,
@@ -137,7 +137,7 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
messageBackgroundColor: messageBackgroundColor:
themeData?.otherMessageTheme?.messageBackgroundColor, themeData?.otherMessageTheme?.messageBackgroundColor,
messageAuthor: themeData?.otherMessageTheme?.messageAuthor, messageAuthor: themeData?.otherMessageTheme?.messageAuthor,
messageMention: themeData?.otherMessageTheme?.messageLinks, messageLinks: themeData?.otherMessageTheme?.messageLinks,
avatarTheme: defaultTheme.otherMessageTheme.avatarTheme.copyWith( avatarTheme: defaultTheme.otherMessageTheme.avatarTheme.copyWith(
constraints: themeData?.otherMessageTheme?.avatarTheme?.constraints, constraints: themeData?.otherMessageTheme?.avatarTheme?.constraints,
borderRadius: themeData?.otherMessageTheme?.avatarTheme?.borderRadius, borderRadius: themeData?.otherMessageTheme?.avatarTheme?.borderRadius,
+4 -4
View File
@@ -168,7 +168,7 @@ class StreamChatThemeData {
this.ownMessageTheme.messageText, this.ownMessageTheme.messageText,
messageAuthor: ownMessageTheme?.messageAuthor ?? messageAuthor: ownMessageTheme?.messageAuthor ??
this.ownMessageTheme.messageAuthor, this.ownMessageTheme.messageAuthor,
messageMention: ownMessageTheme?.messageLinks ?? messageLinks: ownMessageTheme?.messageLinks ??
this.ownMessageTheme.messageLinks, this.ownMessageTheme.messageLinks,
createdAt: createdAt:
ownMessageTheme?.createdAt ?? this.ownMessageTheme.createdAt, ownMessageTheme?.createdAt ?? this.ownMessageTheme.createdAt,
@@ -184,7 +184,7 @@ class StreamChatThemeData {
this.otherMessageTheme.messageText, this.otherMessageTheme.messageText,
messageAuthor: otherMessageTheme?.messageAuthor ?? messageAuthor: otherMessageTheme?.messageAuthor ??
this.otherMessageTheme.messageAuthor, this.otherMessageTheme.messageAuthor,
messageMention: otherMessageTheme?.messageLinks ?? messageLinks: otherMessageTheme?.messageLinks ??
this.otherMessageTheme.messageLinks, this.otherMessageTheme.messageLinks,
createdAt: otherMessageTheme?.createdAt ?? createdAt: otherMessageTheme?.createdAt ??
this.otherMessageTheme.createdAt, this.otherMessageTheme.createdAt,
@@ -421,7 +421,7 @@ class MessageTheme {
MessageTheme copyWith({ MessageTheme copyWith({
TextStyle messageText, TextStyle messageText,
TextStyle messageAuthor, TextStyle messageAuthor,
TextStyle messageMention, TextStyle messageLinks,
TextStyle createdAt, TextStyle createdAt,
TextStyle replies, TextStyle replies,
Color messageBackgroundColor, Color messageBackgroundColor,
@@ -431,7 +431,7 @@ class MessageTheme {
MessageTheme( MessageTheme(
messageText: messageText ?? this.messageText, messageText: messageText ?? this.messageText,
messageAuthor: messageAuthor ?? this.messageAuthor, messageAuthor: messageAuthor ?? this.messageAuthor,
messageLinks: messageMention ?? this.messageLinks, messageLinks: messageLinks ?? this.messageLinks,
createdAt: createdAt ?? this.createdAt, createdAt: createdAt ?? this.createdAt,
messageBackgroundColor: messageBackgroundColor:
messageBackgroundColor ?? this.messageBackgroundColor, messageBackgroundColor ?? this.messageBackgroundColor,