Count and display Talk notifications in Appbar

This commit is contained in:
MineTec committed 2023-02-22 13:20:56 +01:00
1 parent abad04554c
commit b285e7b82f
2 files changed
+39 -27

No files matched your search

-4
View File
@@ -24,10 +24,6 @@ class _ChatListState extends State<ChatList> {
void initState() {
super.initState();
Timer.periodic(const Duration(minutes: 1), (timer) {
Provider.of<ChatListProps>(context, listen: false).run();
});
SharedPreferences.getInstance().then((value) => {
username = value.getString("username")!
});