Count and display Talk notifications in Appbar

This commit is contained in:
2023-02-22 13:20:56 +01:00
parent abad04554c
commit b285e7b82f
2 changed files with 39 additions and 27 deletions

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")!
});