Skip to content

Commit

Permalink
Change title in example
Browse files Browse the repository at this point in the history
  • Loading branch information
n1k3c committed Dec 27, 2019
1 parent 5f26cfb commit 7de585d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ class _MyAppState extends State<MyApp> {

_previewData(PreviewResponse previewResponse) {
if (previewResponse.status == PreviewStatus.success) {
_linkTitle = previewResponse.title;
setState(() {
_linkTitle = previewResponse.title;
});

print('===============================================');
print('Received status: ${previewResponse.status}');
print('Received title: ${previewResponse.title}');
Expand Down

0 comments on commit 7de585d

Please sign in to comment.