version bump

This commit is contained in:
Salvatore Giordano
2020-04-17 16:05:32 +02:00
parent 8d3dcbac42
commit 7c2d607a3a
5 changed files with 31 additions and 25 deletions
+2 -2
View File
@@ -192,7 +192,7 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
@override
void didChangeAppLifecycleState(AppLifecycleState state) {
if (state == AppLifecycleState.paused) {
if (client.showFakeNotification != null) {
if (client.showLocalNotification != null) {
_newMessageSubscription = client
.on(EventType.messageNew)
.where((e) => e.user.id != user.id)
@@ -207,7 +207,7 @@ class StreamChatState extends State<StreamChat> with WidgetsBindingObserver {
await channel.query();
}
client.showFakeNotification(
client.showLocalNotification(
event.message,
ChannelModel(
id: channel.id,