Skip to content

Commit

Permalink
Update home page bus text source
Browse files Browse the repository at this point in the history
  • Loading branch information
abc873693 committed Sep 19, 2020
1 parent 1c56141 commit 21a7f37
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/pages/home_page.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'dart:math';

import 'package:ap_common/api/github_helper.dart';
import 'package:ap_common/callback/general_callback.dart';
import 'package:ap_common/models/user_info.dart';
import 'package:ap_common/pages/announcement_content_page.dart';
Expand Down Expand Up @@ -314,19 +313,19 @@ class HomePageState extends State<HomePage> {
? ApTheme.of(context).blueAccent
: ApTheme.of(context).grey,
),
title: Text(ap.bus, style: _defaultStyle),
title: Text(app.bus, style: _defaultStyle),
children: <Widget>[
DrawerSubItem(
icon: ApIcon.dateRange,
title: ap.busReserve,
title: app.busReserve,
onTap: () => _openPage(
BusPage(initIndex: 0),
needLogin: true,
),
),
DrawerSubItem(
icon: ApIcon.assignment,
title: ap.busReservations,
title: app.busReservations,
onTap: () => _openPage(
BusPage(initIndex: 1),
needLogin: true,
Expand Down Expand Up @@ -398,7 +397,7 @@ class HomePageState extends State<HomePage> {
bottomNavigationBarItems: [
BottomNavigationBarItem(
icon: Icon(ApIcon.directionsBus),
title: Text(ap.bus),
title: Text(app.bus),
),
BottomNavigationBarItem(
icon: Icon(ApIcon.classIcon),
Expand Down

0 comments on commit 21a7f37

Please sign in to comment.