Skip to content

Commit

Permalink
Fix share card logo
Browse files Browse the repository at this point in the history
  • Loading branch information
yekta committed Mar 5, 2024
1 parent a814067 commit c8847c6
Showing 1 changed file with 22 additions and 25 deletions.
47 changes: 22 additions & 25 deletions lib/ui/receive/share_card.dart
@@ -1,6 +1,7 @@
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 @@ -82,33 +83,29 @@ class _AppShareCardState extends State<AppShareCard> {
// Logo
Container(
width: 97,
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.w500,
fontSize: 14.8,
),
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,
),
TextSpan(
text: "BANANO",
style: TextStyle(
fontFamily: 'NeueHansKendrick',
color:
StateContainer.of(context).curTheme.primary,
fontWeight: FontWeight.w500,
fontSize: 14.8,
),
),
Text(
"BANANO",
style: TextStyle(
fontFamily: 'NeueHansKendrick',
color: StateContainer.of(context).curTheme.primary,
fontWeight: FontWeight.w500,
fontSize: 14.8,
),
],
),
),
],
),
),
// Address
Expand Down

0 comments on commit c8847c6

Please sign in to comment.