Merge pull request #98 from GetStream/chore/update-project
chore: update sample app.
This commit is contained in:
@@ -346,7 +346,7 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
alternativeWidget = Text(
|
alternativeWidget = Text(
|
||||||
'${AppLocalizations.of(context).lastSeen} ${Jiffy(otherMember.lastActive).fromNow()}',
|
'${AppLocalizations.of(context).lastSeen} ${Jiffy.parseFromDateTime(otherMember.lastActive!).fromNow()}',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: StreamChatTheme.of(context)
|
color: StreamChatTheme.of(context)
|
||||||
.colorTheme
|
.colorTheme
|
||||||
|
|||||||
@@ -990,7 +990,7 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
alternativeWidget = Text(
|
alternativeWidget = Text(
|
||||||
'${AppLocalizations.of(context).lastSeen} ${Jiffy(otherMember.lastActive).fromNow()}',
|
'${AppLocalizations.of(context).lastSeen} ${Jiffy.parseFromDateTime(otherMember.lastActive!).fromNow()}',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: StreamChatTheme.of(context)
|
color: StreamChatTheme.of(context)
|
||||||
.colorTheme
|
.colorTheme
|
||||||
@@ -1082,7 +1082,7 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
|
|||||||
if (user.online) {
|
if (user.online) {
|
||||||
return AppLocalizations.of(context).online;
|
return AppLocalizations.of(context).online;
|
||||||
} else {
|
} else {
|
||||||
return '${AppLocalizations.of(context).lastSeen} ${Jiffy(user.lastActive).fromNow()}';
|
return '${AppLocalizations.of(context).lastSeen} ${Jiffy.parseFromDateTime(user.lastActive!).fromNow()}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,16 +4,16 @@ publish_to: "none"
|
|||||||
version: 2.2.0
|
version: 2.2.0
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.19.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
flutter: ">=3.7.0"
|
flutter: ">=3.7.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
flutter_app_badger: ^1.5.0
|
flutter_app_badger: ^1.5.0
|
||||||
flutter:
|
flutter:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
stream_chat_flutter: ^6.8.1
|
stream_chat_flutter: ^6.9.0
|
||||||
stream_chat_persistence: ^6.7.0
|
stream_chat_persistence: ^6.8.0
|
||||||
stream_chat_localizations: ^5.8.0
|
stream_chat_localizations: ^5.9.0
|
||||||
flutter_local_notifications: ^15.1.0+1
|
flutter_local_notifications: ^15.1.0+1
|
||||||
flutter_svg: ^2.0.7
|
flutter_svg: ^2.0.7
|
||||||
flutter_secure_storage: ^8.0.0
|
flutter_secure_storage: ^8.0.0
|
||||||
@@ -24,11 +24,11 @@ dependencies:
|
|||||||
collection: ^1.17.1
|
collection: ^1.17.1
|
||||||
sentry_flutter: ^7.9.0
|
sentry_flutter: ^7.9.0
|
||||||
flutter_slidable: ^3.0.0
|
flutter_slidable: ^3.0.0
|
||||||
go_router: ^10.0.0
|
go_router: ^10.1.0
|
||||||
provider: ^6.0.5
|
provider: ^6.0.5
|
||||||
video_player: ^2.7.0
|
video_player: ^2.7.0
|
||||||
firebase_core: ^2.15.0
|
firebase_core: ^2.15.1
|
||||||
firebase_messaging: ^14.6.5
|
firebase_messaging: ^14.6.6
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_launcher_icons: ^0.13.1
|
flutter_launcher_icons: ^0.13.1
|
||||||
|
|||||||
Reference in New Issue
Block a user