generated from dellevin/template
代码优化
This commit is contained in:
@@ -291,18 +291,6 @@ class _BookReviewsPageState extends State<BookReviewsPage> {
|
||||
).then((_) => _loadReviews());
|
||||
}
|
||||
|
||||
void _navigateToEditReview(BookReview review) {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => BookReviewFormPage(
|
||||
bookId: widget.book.id,
|
||||
review: review,
|
||||
),
|
||||
),
|
||||
).then((_) => _loadReviews());
|
||||
}
|
||||
|
||||
void _navigateToReviewDetail(BookReview review) {
|
||||
Navigator.push(
|
||||
context,
|
||||
|
||||
Reference in New Issue
Block a user