File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ class _ChatInfoScreenState extends State<ChatInfoScreen> {
346346 );
347347 } else {
348348 alternativeWidget = Text (
349- '${AppLocalizations .of (context ).lastSeen } ${Jiffy (otherMember .lastActive ).fromNow ()}' ,
349+ '${AppLocalizations .of (context ).lastSeen } ${Jiffy . parseFromDateTime (otherMember .lastActive ! ).fromNow ()}' ,
350350 style: TextStyle (
351351 color: StreamChatTheme .of (context)
352352 .colorTheme
Original file line number Diff line number Diff line change @@ -990,7 +990,7 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
990990 );
991991 } else {
992992 alternativeWidget = Text (
993- '${AppLocalizations .of (context ).lastSeen } ${Jiffy (otherMember .lastActive ).fromNow ()}' ,
993+ '${AppLocalizations .of (context ).lastSeen } ${Jiffy . parseFromDateTime (otherMember .lastActive ! ).fromNow ()}' ,
994994 style: TextStyle (
995995 color: StreamChatTheme .of (context)
996996 .colorTheme
@@ -1082,7 +1082,7 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
10821082 if (user.online) {
10831083 return AppLocalizations .of (context).online;
10841084 } else {
1085- return '${AppLocalizations .of (context ).lastSeen } ${Jiffy (user .lastActive ).fromNow ()}' ;
1085+ return '${AppLocalizations .of (context ).lastSeen } ${Jiffy . parseFromDateTime (user .lastActive ! ).fromNow ()}' ;
10861086 }
10871087 }
10881088}
Original file line number Diff line number Diff line change @@ -4,16 +4,16 @@ publish_to: "none"
44version : 2.2.0
55
66environment :
7- sdk : ' >=2.19 .0 <4.0.0'
7+ sdk : ' >=3.0 .0 <4.0.0'
88 flutter : " >=3.7.0"
99
1010dependencies :
1111 flutter_app_badger : ^1.5.0
1212 flutter :
1313 sdk : flutter
14- stream_chat_flutter : ^6.8.1
15- stream_chat_persistence : ^6.7 .0
16- stream_chat_localizations : ^5.8 .0
14+ stream_chat_flutter : ^6.9.0
15+ stream_chat_persistence : ^6.8 .0
16+ stream_chat_localizations : ^5.9 .0
1717 flutter_local_notifications : ^15.1.0+1
1818 flutter_svg : ^2.0.7
1919 flutter_secure_storage : ^8.0.0
@@ -24,11 +24,11 @@ dependencies:
2424 collection : ^1.17.1
2525 sentry_flutter : ^7.9.0
2626 flutter_slidable : ^3.0.0
27- go_router : ^10.0 .0
27+ go_router : ^10.1 .0
2828 provider : ^6.0.5
2929 video_player : ^2.7.0
30- firebase_core : ^2.15.0
31- firebase_messaging : ^14.6.5
30+ firebase_core : ^2.15.1
31+ firebase_messaging : ^14.6.6
3232
3333dev_dependencies :
3434 flutter_launcher_icons : ^0.13.1
You can’t perform that action at this time.
0 commit comments