From d05bc9c0e32db6b447048069e9210db7e70f673c Mon Sep 17 00:00:00 2001 From: xster Date: Thu, 19 Apr 2018 16:53:21 -0700 Subject: [PATCH] Remove UI with the word 'demo' from the gallery (#16767) --- examples/flutter_gallery/lib/demo/contacts_demo.dart | 6 +++--- examples/flutter_gallery/lib/demo/video_demo.dart | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/flutter_gallery/lib/demo/contacts_demo.dart b/examples/flutter_gallery/lib/demo/contacts_demo.dart index c146f1fb88..5b5d7f2eba 100644 --- a/examples/flutter_gallery/lib/demo/contacts_demo.dart +++ b/examples/flutter_gallery/lib/demo/contacts_demo.dart @@ -124,7 +124,7 @@ class ContactsDemoState extends State { 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 { 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 [ @@ -247,7 +247,7 @@ class ContactsDemoState extends State { 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 [ diff --git a/examples/flutter_gallery/lib/demo/video_demo.dart b/examples/flutter_gallery/lib/demo/video_demo.dart index f55c1b78eb..924b42dc20 100644 --- a/examples/flutter_gallery/lib/demo/video_demo.dart +++ b/examples/flutter_gallery/lib/demo/video_demo.dart @@ -419,7 +419,7 @@ class _VideoDemoState extends State ) : const Center( child: const Text( - 'The video demo is not supported on the iOS Simulator.', + 'Video playback not supported on the iOS Simulator.', ), ), );