Unverified Commit d05bc9c0 authored by xster's avatar xster Committed by GitHub

Remove UI with the word 'demo' from the gallery (#16767)

parent b83eb465
...@@ -124,7 +124,7 @@ class ContactsDemoState extends State<ContactsDemo> { ...@@ -124,7 +124,7 @@ class ContactsDemoState extends State<ContactsDemo> {
tooltip: 'Edit', tooltip: 'Edit',
onPressed: () { onPressed: () {
_scaffoldKey.currentState.showSnackBar(const SnackBar( _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> { ...@@ -203,7 +203,7 @@ class ContactsDemoState extends State<ContactsDemo> {
tooltip: 'Send message', tooltip: 'Send message',
onPressed: () { onPressed: () {
_scaffoldKey.currentState.showSnackBar(const SnackBar( _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>[ lines: const <String>[
...@@ -247,7 +247,7 @@ class ContactsDemoState extends State<ContactsDemo> { ...@@ -247,7 +247,7 @@ class ContactsDemoState extends State<ContactsDemo> {
tooltip: 'Send work e-mail', tooltip: 'Send work e-mail',
onPressed: () { onPressed: () {
_scaffoldKey.currentState.showSnackBar(const SnackBar( _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>[ lines: const <String>[
......
...@@ -419,7 +419,7 @@ class _VideoDemoState extends State<VideoDemo> ...@@ -419,7 +419,7 @@ class _VideoDemoState extends State<VideoDemo>
) )
: const Center( : const Center(
child: const Text( child: const Text(
'The video demo is not supported on the iOS Simulator.', 'Video playback not supported on the iOS Simulator.',
), ),
), ),
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment