Skip to content

Commit

Permalink
♻️ Remove unnecessary today button
Browse files Browse the repository at this point in the history
  • Loading branch information
bannzai committed Oct 26, 2021
1 parent a6f1e93 commit fd1b3ff
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/domain/menstruation/menstruation_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,6 @@ class MenstruationPage extends HookWidget {
return Scaffold(
backgroundColor: PilllColors.background,
appBar: AppBar(
actions: [
AppBarTextActionButton(
onPressed: () {
analytics.logEvent(name: "menstruation_to_today_pressed");
store.updateCurrentCalendarIndex(state.todayCalendarIndex);
itemScrollController.scrollTo(
index: state.todayCalendarIndex,
duration: Duration(milliseconds: 300));
},
text: "今日"),
],
title: SizedBox(
child: Text(
state.displayMonth,
Expand Down

0 comments on commit fd1b3ff

Please sign in to comment.