Skip to content

Commit 32beff2

Browse files
committed
Hotfix for #244
1 parent d7d4ec5 commit 32beff2

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 10.5.1
2+
* Hotfix #244 - regular font still used
3+
* Update package description icon count
4+
15
## 10.5.0
26
* Fix #244 - dynamic icon retrieval requires regular font
37
* BREAKING: getIconFromCss now returns null if no matching icon is found

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: font_awesome_flutter
2-
description: The Font Awesome Icon pack available as Flutter Icons. Provides 1600 additional icons to use in your apps.
2+
description: The Font Awesome Icon pack available as Flutter Icons. Provides 2000 additional icons to use in your apps.
33
maintainer: Michael Spiss (@michaelspiss)
44
repository: https://github.com/fluttercommunity/font_awesome_flutter
55
issue_tracker: https://github.com/fluttercommunity/font_awesome_flutter/issues
6-
version: 10.5.0
6+
version: 10.5.1
77

88
environment:
99
sdk: ">=3.0.0 <4.0.0"
@@ -43,4 +43,4 @@ flutter:
4343
# - family: FontAwesomeThin
4444
# fonts:
4545
# - asset: lib/fonts/fa-thin-100.ttf
46-
# weight: 100
46+
# weight: 100

util/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ to complete successfully.
300300
" var icon = separatedCssClasses.firstWhere((c) => c.startsWith('fa-'));",
301301
" icon = icon.replaceFirst('fa-', '');",
302302
'',
303-
" return faIconNameMapping[style + ' ' + icon] ?? FontAwesomeIcons.circleQuestion;",
303+
" return faIconNameMapping['\$style \$icon'];",
304304
' } on StateError {',
305305
' return null;',
306306
' }',

0 commit comments

Comments
 (0)