[94] chore: remove excessive logs
This commit is contained in:
@@ -11,7 +11,6 @@ import 'firebase_options.dart';
|
||||
|
||||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
debugPrint("#firebase; PN_1");
|
||||
await Firebase.initializeApp(
|
||||
options: DefaultFirebaseOptions.currentPlatform,
|
||||
);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import 'package:collection/collection.dart';
|
||||
import 'package:example/routes/routes.dart';
|
||||
import 'package:example/pages/thread_page.dart';
|
||||
import 'package:example/routes/routes.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:stream_chat_flutter/stream_chat_flutter.dart';
|
||||
@@ -47,14 +47,12 @@ class _ChannelPageState extends State<ChannelPage> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
print(">>>>>>>>>> CHANNEL PAGE");
|
||||
return Scaffold(
|
||||
backgroundColor: StreamChatTheme.of(context).colorTheme.appBg,
|
||||
appBar: StreamChannelHeader(
|
||||
showTypingIndicator: false,
|
||||
onBackPressed: () => GoRouter.of(context).pop(),
|
||||
onImageTap: () async {
|
||||
print(">>>>>>>>>> onImageTap");
|
||||
final channel = StreamChannel.of(context).channel;
|
||||
final router = GoRouter.of(context);
|
||||
|
||||
@@ -64,7 +62,6 @@ class _ChannelPageState extends State<ChannelPage> {
|
||||
(element) => element.user!.id != currentUser!.id,
|
||||
);
|
||||
if (otherUser != null) {
|
||||
print(">>>>>>>>>> GROUP_INFO_SCREEN otherUser");
|
||||
router.pushNamed(
|
||||
Routes.CHAT_INFO_SCREEN.name,
|
||||
params: Routes.CHAT_INFO_SCREEN.params(channel),
|
||||
@@ -72,7 +69,6 @@ class _ChannelPageState extends State<ChannelPage> {
|
||||
);
|
||||
}
|
||||
} else {
|
||||
print(">>>>>>>>>> GROUP_INFO_SCREEN");
|
||||
GoRouter.of(context).pushNamed(
|
||||
Routes.GROUP_INFO_SCREEN.name,
|
||||
params: Routes.GROUP_INFO_SCREEN.params(channel),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'package:example/utils/localizations.dart';
|
||||
import 'package:example/routes/routes.dart';
|
||||
import 'package:example/utils/localizations.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_local_notifications/flutter_local_notifications.dart'
|
||||
hide Message;
|
||||
@@ -33,8 +33,6 @@ void showLocalNotification(
|
||||
await flutterLocalNotificationsPlugin.initialize(
|
||||
initializationSettings,
|
||||
onSelectNotification: (channelCid) async {
|
||||
debugPrint("[onSelectNotification] #firebase; channelCid: $channelCid");
|
||||
debugPrint("[onSelectNotification] #firebase; context: $context");
|
||||
if (channelCid != null) {
|
||||
final client = StreamChat.of(context).client;
|
||||
final router = GoRouter.of(context);
|
||||
|
||||
Reference in New Issue
Block a user