chore: replace all '(demo)' labels with '(coming soon)'
Affects snackbar messages in booking_screen, tickets_booked_screen, calendar_screen, settings_screen. Also updates Privacy Policy subtitle from 'Demo app' to 'Coming Soon'. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -58,7 +58,7 @@ Whether you're a longtime fan or hearing him live for the first time, this eveni
|
||||
if (!_booked) {
|
||||
setState(() => _booked = true);
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(content: Text('Tickets booked (demo)')),
|
||||
const SnackBar(content: Text('Tickets booked (coming soon)')),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -220,15 +220,15 @@ Whether you're a longtime fan or hearing him live for the first time, this eveni
|
||||
|
||||
// action icons (scanner / chat / call)
|
||||
_iconSquare(primary, Icons.qr_code_scanner, onTap: () {
|
||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('Scanner tapped (demo)')));
|
||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('Scanner (coming soon)')));
|
||||
}),
|
||||
SizedBox(width: 12),
|
||||
_iconSquare(primary, Icons.chat, onTap: () {
|
||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('Chat tapped (demo)')));
|
||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('Chat (coming soon)')));
|
||||
}),
|
||||
SizedBox(width: 12),
|
||||
_iconSquare(primary, Icons.call, onTap: () {
|
||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('Call tapped (demo)')));
|
||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('Call (coming soon)')));
|
||||
}),
|
||||
],
|
||||
);
|
||||
|
||||
@@ -838,7 +838,7 @@ class _CalendarScreenState extends State<CalendarScreen> {
|
||||
Positioned(
|
||||
right: 0,
|
||||
child: InkWell(
|
||||
onTap: () => ScaffoldMessenger.of(context).showSnackBar(const SnackBar(content: Text('Notifications (demo)'))),
|
||||
onTap: () => ScaffoldMessenger.of(context).showSnackBar(const SnackBar(content: Text('Notifications (coming soon)'))),
|
||||
child: Container(
|
||||
width: 40,
|
||||
height: 40,
|
||||
|
||||
@@ -314,7 +314,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
children: [
|
||||
const Expanded(child: Text('Settings', style: TextStyle(color: Colors.white, fontSize: 20, fontWeight: FontWeight.w600))),
|
||||
InkWell(
|
||||
onTap: () => ScaffoldMessenger.of(context).showSnackBar(const SnackBar(content: Text('Help tapped (demo)'))),
|
||||
onTap: () => ScaffoldMessenger.of(context).showSnackBar(const SnackBar(content: Text('Help (coming soon)'))),
|
||||
child: Container(
|
||||
width: 40,
|
||||
height: 40,
|
||||
@@ -338,7 +338,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
icon: Icons.person,
|
||||
title: 'Edit Profile',
|
||||
subtitle: 'Change username, email or photo',
|
||||
onTap: () => ScaffoldMessenger.of(context).showSnackBar(const SnackBar(content: Text('Open Profile tab (demo)'))),
|
||||
onTap: () => ScaffoldMessenger.of(context).showSnackBar(const SnackBar(content: Text('Open Profile tab (coming soon)'))),
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
const Text('Preferences', style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold)),
|
||||
@@ -379,7 +379,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
_buildTile(
|
||||
icon: Icons.privacy_tip_outlined,
|
||||
title: 'Privacy Policy',
|
||||
subtitle: 'Demo app',
|
||||
subtitle: 'Coming Soon',
|
||||
onTap: () => Navigator.of(context).push(MaterialPageRoute(builder: (_) => const PrivacyPolicyScreen())),
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
|
||||
@@ -6,19 +6,19 @@ class TicketsBookedScreen extends StatelessWidget {
|
||||
|
||||
void _onScannerTap(BuildContext context) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(content: Text('Scanner tapped (demo)')),
|
||||
SnackBar(content: Text('Scanner tapped (coming soon)')),
|
||||
);
|
||||
}
|
||||
|
||||
void _onWhatsappTap(BuildContext context) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(content: Text('Chat/WhatsApp tapped (demo)')),
|
||||
SnackBar(content: Text('Chat/WhatsApp (coming soon)')),
|
||||
);
|
||||
}
|
||||
|
||||
void _onCallTap(BuildContext context) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(content: Text('Call tapped (demo)')),
|
||||
SnackBar(content: Text('Call (coming soon)')),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user