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

This commit is contained in:
xster
2018-04-19 16:53:21 -07:00
committed by GitHub
parent b83eb465fd
commit d05bc9c0e3
2 changed files with 4 additions and 4 deletions

View File

@@ -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>[

View File

@@ -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.',
),
),
);