feat: Implement push notification suppression for active chats, prevent duplicate self-messages, update the chat typing indicator, and add back buttons to static screens.

This commit is contained in:
pradeepkumar
2026-03-18 17:24:32 +05:30
parent cde137e07b
commit a4aa9bfe25
8 changed files with 196 additions and 35 deletions

View File

@@ -188,8 +188,38 @@ class FaqScreen extends ConsumerWidget {
}
return ListView(
padding: const EdgeInsets.fromLTRB(0, 20, 0, 30),
padding: const EdgeInsets.fromLTRB(0, 8, 0, 30),
children: [
// Back button
Padding(
padding: const EdgeInsets.fromLTRB(16, 0, 16, 0),
child: Align(
alignment: Alignment.centerLeft,
child: GestureDetector(
onTap: () {
if (Navigator.of(context).canPop()) {
Navigator.of(context).pop();
} else {
context.go('/home');
}
},
child: Container(
width: 36,
height: 36,
decoration: BoxDecoration(
color: AppColors.primaryDark.withValues(alpha: 0.08),
shape: BoxShape.circle,
),
child: const Icon(
Icons.arrow_back_ios_new_rounded,
color: AppColors.primaryDark,
size: 18,
),
),
),
),
),
const SizedBox(height: 12),
// Title
const Padding(
padding: EdgeInsets.symmetric(horizontal: 24),