Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
feat(timetable): update ics desc
Browse files Browse the repository at this point in the history
'Powered by jjaychen.me'
  • Loading branch information
CCXXXI committed Oct 30, 2021
1 parent 307010f commit ab59a2f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/timetable/timetable_menu/timetable_menu_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,11 @@ class TimetableMenuPage extends StatelessWidget {
tiles: [
ListTile(
title: Text('ICS文件'.s),
subtitle:
user.id == null ? const Text('需先登录公共数据库') : null,
subtitle: Text(
user.id == null
? '需先登录公共数据库'
: 'Powered by jjaychen.me',
),
enabled: user.id != null,
trailing: const FaIcon(FontAwesomeIcons.fileExport),
onTap: user.id == null
Expand Down

0 comments on commit ab59a2f

Please sign in to comment.