Skip to content

Commit

Permalink
Remove TODO lines
Browse files Browse the repository at this point in the history
  • Loading branch information
AshutoshPatole committed Nov 13, 2021
1 parent 0888b14 commit 0f306ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/views/home_page/home_page_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class HomePageViewModel extends BaseViewModel {

navigateItemDetailPage() async {
_navigationService.navigateWithTransition(
ItemDetailPageView(),
const ItemDetailPageView(),
duration: const Duration(milliseconds: 500),
popGesture: false,
);
Expand Down
8 changes: 1 addition & 7 deletions lib/views/item_detail_page/item_detail_page_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@ import 'package:stacked/stacked.dart';
import 'item_detail_page_view_model.dart';

class ItemDetailPageView extends StatelessWidget {
// final String imageTag;
// final String imagePath;
// const ItemDetailPageView(
// {Key? key,
// this.imageTag = "",
// this.imagePath = ""}) // ! TODO Might cause a crash here. Fix it later
// : super(key: key);
const ItemDetailPageView({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit 0f306ee

Please sign in to comment.