Skip to content

Commit

Permalink
Add schedule pdf source for other platform
Browse files Browse the repository at this point in the history
  • Loading branch information
abc873693 committed May 28, 2020
1 parent 039ac35 commit a67dde9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/pages/info/schedule_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ class SchedulePageState extends State<SchedulePage>
} else
data = remoteConfig.getString(Constants.SCHEDULE_DATA);
} on FetchThrottledException catch (_) {} catch (exception) {}
} else {
downloadFdf(
'https://raw.githubusercontent.com/NKUST-ITC/NKUST-AP-Flutter/039ac35f41173f6c2eacfd9cc73052a257e8d68a/cal108-2.pdf');
}
if (data == null || data.isEmpty) {
data = await rootBundle.loadString(FileAssets.scheduleData);
Expand Down

0 comments on commit a67dde9

Please sign in to comment.