Skip to content

Commit

Permalink
Fixed bug with small icons
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolONEOfficial committed Mar 20, 2019
1 parent df3be68 commit 1154921
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions lib/timeline_painter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,10 @@ class TimelinePainter extends CustomPainter {
TextPainter(
text: TextSpan(
style: TextStyle(
fontFamily: fontFamily,
color: theme.accentTextTheme.body1.color,
fontSize: ScreenUtil().setSp((iconSize * 2).round())),
fontFamily: fontFamily,
color: theme.accentTextTheme.body1.color,
fontSize: iconSize * 2,
),
text: String.fromCharCode(model.lesson.iconCodePoint),
),
textAlign: TextAlign.center,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ranepa_timetable
description: Custom RANEPA android client on Flutter.

version: 1.5.1+10
version: 1.5.2+11

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down

0 comments on commit 1154921

Please sign in to comment.