Skip to content

Commit

Permalink
feat(cat-voices): add picture
Browse files Browse the repository at this point in the history
  • Loading branch information
dtscalac committed Sep 24, 2024
1 parent 6301e91 commit 4b3ce3f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:catalyst_voices/pages/account/creation/task_picture.dart';
import 'package:catalyst_voices/widgets/buttons/specialized/voices_learn_more_button.dart';
import 'package:catalyst_voices/widgets/widgets.dart';
import 'package:catalyst_voices_assets/catalyst_voices_assets.dart';
Expand Down Expand Up @@ -28,8 +29,8 @@ class LinkWalletIntroDialog extends StatelessWidget {
context.l10n.walletLink_subheader,
style: Theme.of(context).textTheme.titleMedium,
),
const SizedBox(height: 12),
const Placeholder(),
const SizedBox(height: 50),
const TaskKeychainPicture(),
const Spacer(),
VoicesLearnMoreButton(
onTap: () {},
Expand All @@ -39,6 +40,7 @@ class LinkWalletIntroDialog extends StatelessWidget {
right: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
const SizedBox(height: 24),
Text(
context.l10n.walletLink_intro_title,
style: Theme.of(context).textTheme.titleMedium,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import 'package:catalyst_cardano/catalyst_cardano.dart';
import 'package:catalyst_voices/widgets/widgets.dart';
import 'package:catalyst_voices_assets/catalyst_voices_assets.dart';
import 'package:catalyst_voices_localization/catalyst_voices_localization.dart';
import 'package:flutter/material.dart';

// TODO(dtscalac): add content for the screen
Expand All @@ -15,21 +13,12 @@ class SelectWalletDialog extends StatelessWidget {

@override
Widget build(BuildContext context) {
return VoicesDesktopPanelsDialog(
left: const Column(
children: [Text('Left 2')],
return const VoicesDesktopPanelsDialog(
left: Column(
children: [],
),
right: Column(
children: [
const Text('Right 2'),
VoicesFilledButton(
leading: VoicesAssets.icons.wallet.buildIcon(),
onTap: () {
// TODO(dtscalac): call onSelectedWallet
},
child: Text(context.l10n.chooseCardanoWallet),
),
],
children: [],
),
);
}
Expand Down

0 comments on commit 4b3ce3f

Please sign in to comment.