Skip to content

Commit

Permalink
New font
Browse files Browse the repository at this point in the history
  • Loading branch information
yekta committed Mar 5, 2024
1 parent 453abc8 commit 098b441
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 4 deletions.
Binary file added fonts/AppIcons2.ttf
Binary file not shown.
18 changes: 18 additions & 0 deletions ios/Flutter/Flutter.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# NOTE: This podspec is NOT to be published. It is only used as a local source!
# This is a generated file; do not edit or check into version control.
#

Pod::Spec.new do |s|
s.name = 'Flutter'
s.version = '1.0.0'
s.summary = 'A UI toolkit for beautiful and fast apps.'
s.homepage = 'https://flutter.dev'
s.license = { :type => 'BSD' }
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
s.ios.deployment_target = '11.0'
# Framework linking is handled by Flutter tooling, not CocoaPods.
# Add a placeholder to satisfy `s.dependency 'Flutter'` plugin podspecs.
s.vendored_frameworks = 'path/to/nothing'
end
4 changes: 2 additions & 2 deletions lib/ui/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1694,9 +1694,9 @@ class _AppHomePageState extends State<AppHomePage>
children: [
// Currency Icon
TextSpan(
text: "\ue80a",
text: "\u{e817}",
style: TextStyle(
fontFamily: 'AppIcons',
fontFamily: 'AppIcons2',
fontWeight: FontWeight.w400,
color:
StateContainer.of(context).curTheme.primary,
Expand Down
4 changes: 2 additions & 2 deletions lib/ui/receive/share_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ class _AppShareCardState extends State<AppShareCard> {
children: [
// Currency Icon
TextSpan(
text: "\u{e801} ",
text: "\u{e80d}",
style: TextStyle(
color:
StateContainer.of(context).curTheme.primary,
fontFamily: "AppIcons",
fontFamily: "AppIcons2",
fontWeight: FontWeight.w400,
fontSize: 14.6,
),
Expand Down
4 changes: 4 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ flutter:
fonts:
- asset: fonts/AppIcons.ttf
weight: 400
- family: AppIcons2
fonts:
- asset: fonts/AppIcons2.ttf
weight: 400
- family: NeueHansKendrick
fonts:
- asset: fonts/NeueHansKendrick-Medium.ttf
Expand Down

0 comments on commit 098b441

Please sign in to comment.