fix analysis
This commit is contained in:
@@ -94,7 +94,7 @@ class ChannelHeader extends StatelessWidget implements PreferredSizeWidget {
|
||||
/// Subtitle widget
|
||||
final Widget? subtitle;
|
||||
|
||||
// Whether the title should be centered
|
||||
/// Whether the title should be centered
|
||||
final bool? centerTitle;
|
||||
|
||||
/// Leading widget
|
||||
|
||||
@@ -529,6 +529,7 @@ class _MessageListViewState extends State<MessageListView> {
|
||||
return ((index + 2) * 2) - 1;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
||||
// Item Count -> 8 (1 parent, 2 header+footer, 2 top+bottom, 3 messages)
|
||||
|
||||
@@ -74,6 +74,8 @@ GlobalStreamChatLocalizations? getStreamChatTranslation(Locale locale) {
|
||||
return const StreamChatLocalizationsKo();
|
||||
case 'pt':
|
||||
return const StreamChatLocalizationsPt();
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user