Browse Source

Increased font weight and added bold font

working_branch
Kenneth Bruen 5 years ago
parent
commit
1b046d517f
  1. 4
      CHANGELOG.TXT
  2. 4
      ios/Podfile.lock
  3. 8
      lib/train_info_page/train_info_cupertino_DisplayTrainStation.dart
  4. 2
      pubspec.yaml

4
CHANGELOG.TXT

@ -1,3 +1,7 @@
v2.0.5
- increased font weight on iOS
- added support for system bolt font request on iOS
v2.0.4
- added original time in case of delay for iOS
+ will be for Android soon

4
ios/Podfile.lock

@ -4,12 +4,12 @@ PODS:
- Flutter
DEPENDENCIES:
- Flutter (from `.symlinks/flutter/ios`)
- Flutter (from `.symlinks/flutter/ios-release`)
- webview_flutter (from `.symlinks/plugins/webview_flutter/ios`)
EXTERNAL SOURCES:
Flutter:
:path: ".symlinks/flutter/ios"
:path: ".symlinks/flutter/ios-release"
webview_flutter:
:path: ".symlinks/plugins/webview_flutter/ios"

8
lib/train_info_page/train_info_cupertino_DisplayTrainStation.dart

@ -111,8 +111,8 @@ class KmBadge extends StatelessWidget {
value.toString(),
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith(
fontSize: 18,
fontWeight: FontWeight.w100,
color: foregroundColor
fontWeight: MediaQuery.of(context).boldText ? FontWeight.w400 : FontWeight.w200,
color: MediaQuery.of(context).boldText ? FOREGROUND_WHITE : foregroundColor,
),
textAlign: TextAlign.center,
);
@ -124,7 +124,7 @@ class KmBadge extends StatelessWidget {
"km",
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith(
fontSize: 10,
color: foregroundColor,
color: MediaQuery.of(context).boldText ? FOREGROUND_WHITE : foregroundColor,
),
),
],
@ -153,7 +153,7 @@ class Title extends StatelessWidget {
items[0],
style: CupertinoTheme.of(context).textTheme.textStyle.copyWith(
fontSize: 22,
fontWeight: FontWeight.w100,
fontWeight: MediaQuery.of(context).boldText ? FontWeight.w400 : FontWeight.w200,
fontStyle: items[1] == "ONI" ? FontStyle.italic : FontStyle.normal,
),
textAlign: TextAlign.center,

2
pubspec.yaml

@ -11,7 +11,7 @@ description: O aplicație de vizualizare a datelor puse la dispoziție de Inform
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.0.4
version: 2.0.5
environment:
sdk: ">=2.3.0 <3.0.0"

Loading…
Cancel
Save