Skip to content

Commit

Permalink
Font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
yekta committed Mar 5, 2024
1 parent c8847c6 commit f8f42d7
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 40 deletions.
18 changes: 0 additions & 18 deletions ios/Flutter/Flutter.podspec

This file was deleted.

1 change: 1 addition & 0 deletions lib/ui/accounts/accounts_sheet.dart
Expand Up @@ -599,6 +599,7 @@ class _AppAccountsWidgetState extends State<AppAccountsWidget> {
text: account.balance != null ? "" : "",
style: TextStyle(
fontFamily: 'AppIcons',
fontWeight: FontWeight.w400,
color: StateContainer.of(context).curTheme.text,
fontSize: 13.0,
),
Expand Down
1 change: 1 addition & 0 deletions lib/ui/home_page.dart
Expand Up @@ -1697,6 +1697,7 @@ class _AppHomePageState extends State<AppHomePage>
text: "\u{e80a}",
style: TextStyle(
fontFamily: 'AppIcons',
fontWeight: FontWeight.w400,
color:
StateContainer.of(context).curTheme.primary,
fontSize: 23.0,
Expand Down
47 changes: 25 additions & 22 deletions lib/ui/receive/share_card.dart
@@ -1,7 +1,6 @@
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:kalium_wallet_flutter/app_icons.dart';
import 'package:kalium_wallet_flutter/appstate_container.dart';
import 'package:kalium_wallet_flutter/ui/widgets/auto_resize_text.dart';
import 'package:qr_flutter/qr_flutter.dart';
Expand Down Expand Up @@ -83,29 +82,33 @@ class _AppShareCardState extends State<AppShareCard> {
// Logo
Container(
width: 97,
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
// Currency Icon
Container(
margin: EdgeInsets.only(right: 5.5, bottom: 1.5),
child: Icon(
AppIcons.bananologo,
size: 24,
color: StateContainer.of(context).curTheme.primary,
child: RichText(
maxLines: 1,
text: TextSpan(
children: [
// Currency Icon
TextSpan(
text: "\u{e801} ",
style: TextStyle(
color:
StateContainer.of(context).curTheme.primary,
fontFamily: "AppIcons",
fontWeight: FontWeight.w400,
fontSize: 14.8,
),
),
),
Text(
"BANANO",
style: TextStyle(
fontFamily: 'NeueHansKendrick',
color: StateContainer.of(context).curTheme.primary,
fontWeight: FontWeight.w500,
fontSize: 14.8,
TextSpan(
text: "BANANO",
style: TextStyle(
fontFamily: 'NeueHansKendrick',
color:
StateContainer.of(context).curTheme.primary,
fontWeight: FontWeight.w500,
fontSize: 14.8,
),
),
),
],
],
),
),
),
// Address
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Expand Up @@ -178,6 +178,7 @@ flutter:
- family: AppIcons
fonts:
- asset: fonts/AppIcons.ttf
weight: 400
- family: NeueHansKendrick
fonts:
- asset: fonts/NeueHansKendrick-Medium.ttf
Expand Down

0 comments on commit f8f42d7

Please sign in to comment.