Skip to content

Commit

Permalink
add text diff view
Browse files Browse the repository at this point in the history
  • Loading branch information
gusibi committed Jul 25, 2024
1 parent 4765d1c commit b07639a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/sample_feature/sample_item_list_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,26 +114,26 @@ class SampleItemListView extends StatelessWidget {

void _navigateToItemView(BuildContext context, SampleItem item) {
switch (item.id) {
case 1:
case 2:
Navigator.push(
context,
MaterialPageRoute(builder: (context) => const JsonFormatView()),
);
break;
case 3:
case 4:
Navigator.push(
context,
MaterialPageRoute(builder: (context) => TextDiffView()),
);
break;
case 4:
case 6:
Navigator.push(
context,
MaterialPageRoute(builder: (context) => AppIconEditorPage()),
);
break;
case 5:
case 7:
Navigator.push(
context,
MaterialPageRoute(builder: (context) => IconGeneratorPage()),
Expand Down

0 comments on commit b07639a

Please sign in to comment.