Remove UI with the word 'demo' from the gallery (#16767)
This commit is contained in:
@@ -124,7 +124,7 @@ class ContactsDemoState extends State<ContactsDemo> {
|
||||
tooltip: 'Edit',
|
||||
onPressed: () {
|
||||
_scaffoldKey.currentState.showSnackBar(const SnackBar(
|
||||
content: const Text('This is actually just a demo. Editing isn\'t supported.')
|
||||
content: const Text("Editing isn't supported in this screen.")
|
||||
));
|
||||
},
|
||||
),
|
||||
@@ -203,7 +203,7 @@ class ContactsDemoState extends State<ContactsDemo> {
|
||||
tooltip: 'Send message',
|
||||
onPressed: () {
|
||||
_scaffoldKey.currentState.showSnackBar(const SnackBar(
|
||||
content: const Text('In this demo, this button doesn\'t do anything.')
|
||||
content: const Text('A messaging app appears.')
|
||||
));
|
||||
},
|
||||
lines: const <String>[
|
||||
@@ -247,7 +247,7 @@ class ContactsDemoState extends State<ContactsDemo> {
|
||||
tooltip: 'Send work e-mail',
|
||||
onPressed: () {
|
||||
_scaffoldKey.currentState.showSnackBar(const SnackBar(
|
||||
content: const Text('This is a demo, so this button does not actually work.')
|
||||
content: const Text('Summon your favorite e-mail application here.')
|
||||
));
|
||||
},
|
||||
lines: const <String>[
|
||||
|
||||
@@ -419,7 +419,7 @@ class _VideoDemoState extends State<VideoDemo>
|
||||
)
|
||||
: const Center(
|
||||
child: const Text(
|
||||
'The video demo is not supported on the iOS Simulator.',
|
||||
'Video playback not supported on the iOS Simulator.',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user