Count and display Talk notifications in Appbar
This commit is contained in:
@ -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")!
|
||||
});
|
||||
|
Reference in New Issue
Block a user