fix: remove notification badge logic from the sdk and move it to sample app

This commit is contained in:
Salvatore Giordano
2021-03-08 16:52:35 +01:00
parent 5e4c106ff5
commit d5bbbfd3f3
2 changed files with 0 additions and 11 deletions
@@ -121,15 +121,5 @@ class StreamChatState extends State<StreamChat> {
@override
void initState() {
super.initState();
if (!kIsWeb) {
client.state?.totalUnreadCountStream?.listen((count) {
if (count > 0) {
FlutterAppBadger.updateBadgeCount(count);
} else {
FlutterAppBadger.removeBadge();
}
});
}
}
}