emojis removed, updated headers, added spectate mode

This commit is contained in:
2025-12-20 10:17:23 +01:00
parent 5ae91d70e6
commit 3d033817a5
11 changed files with 1506 additions and 348 deletions
+23 -25
View File
@@ -473,15 +473,15 @@ class _CalendarScreenState extends State<CalendarScreen> {
onTap: () => _makePhoneCall(contact.phone),
onLongPress: () => _showContactPopup(context, contact),
child: Container(
margin: const EdgeInsets.symmetric(vertical: 6, horizontal: 8),
margin: const EdgeInsets.symmetric(vertical: 8, horizontal: 16),
decoration: BoxDecoration(
color: Colors.grey[300],
borderRadius: BorderRadius.circular(10),
borderRadius: BorderRadius.circular(12),
boxShadow: [
BoxShadow(
color: Colors.grey.withValues(alpha: 0.08),
blurRadius: 2,
offset: const Offset(0, 1),
color: Colors.grey.withValues(alpha: 0.3),
blurRadius: 8,
offset: const Offset(0, 2),
),
],
),
@@ -490,37 +490,37 @@ class _CalendarScreenState extends State<CalendarScreen> {
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// Colored header bar (like event cards)
// Grey header bar with white text (matching book screen style)
Container(
width: double.infinity,
padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 6),
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
decoration: BoxDecoration(
color: accentColor.withValues(alpha: 0.2),
color: Colors.grey[900],
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(10),
topRight: Radius.circular(10),
topLeft: Radius.circular(12),
topRight: Radius.circular(12),
),
),
child: Row(
children: [
// Small colored indicator
// White indicator line
Container(
width: 3,
height: 12,
width: 4,
height: 20,
decoration: BoxDecoration(
color: accentColor,
color: Colors.white,
borderRadius: BorderRadius.circular(2),
),
),
const SizedBox(width: 7),
// Contact name
const SizedBox(width: 12),
// Contact name in white
Expanded(
child: Text(
_capitalize(contact.fullName),
style: TextStyle(
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold,
color: accentColor,
color: Colors.white,
),
),
),
@@ -1154,9 +1154,7 @@ class _CalendarScreenState extends State<CalendarScreen> {
width: double.infinity,
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
decoration: BoxDecoration(
color: isToday
? cardAccentColor.withValues(alpha: 0.2)
: cardAccentColor.withValues(alpha: 0.1),
color: cardAccentColor,
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(12),
topRight: Radius.circular(12),
@@ -1164,22 +1162,22 @@ class _CalendarScreenState extends State<CalendarScreen> {
),
child: Row(
children: [
// Small colored indicator
// Small white indicator line
Container(
width: 4,
height: 16,
decoration: BoxDecoration(
color: cardAccentColor,
color: Colors.white,
borderRadius: BorderRadius.circular(2),
),
),
const SizedBox(width: 8),
Text(
dateText,
style: TextStyle(
style: const TextStyle(
fontSize: 14,
fontWeight: FontWeight.bold,
color: cardAccentColor,
color: Colors.white,
),
),
const Spacer(),