claude refactorings, flutter best practices, platform dependent changes, general cleanup
This commit is contained in:
@@ -5,11 +5,11 @@ import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
|
||||
import '../routing/app_routes.dart';
|
||||
import '../state/app/modules/chat/bloc/chat_bloc.dart';
|
||||
import '../state/app/modules/chatList/bloc/chat_list_bloc.dart';
|
||||
import '../state/app/modules/chat_list/bloc/chat_list_bloc.dart';
|
||||
|
||||
class NotificationTasks {
|
||||
static void updateBadgeCount(RemoteMessage notification) {
|
||||
FlutterAppBadge.count(int.parse(notification.data['unreadCount'] ?? '0'));
|
||||
FlutterAppBadge.count(int.parse((notification.data['unreadCount'] as String?) ?? '0'));
|
||||
}
|
||||
|
||||
static void updateProviders(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user