Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
raapperez committed Sep 13, 2024
1 parent dc6327a commit 8e359fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/lib/samples/screens/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class HomeScreen extends StatelessWidget {
onPressed: () {
// final r = NuRouter.of<OldFriendRequestRouter>(context);
// r.toListRequests();
nuvigator?.open<void>(
nuvigator.open<void>(
'exapp://friend-requests?numberOfRequests=10',
);
},
Expand All @@ -46,7 +46,7 @@ class HomeScreen extends StatelessWidget {
onPressed: () async {
String? text;

text = await nuvigator?.open<String>(
text = await nuvigator.open<String>(
'exapp://composer/text?initialText=Hello+deep+link%21',
screenType: cupertinoDialogScreenType,
);
Expand Down

0 comments on commit 8e359fe

Please sign in to comment.