Skip to content

Commit

Permalink
Updated label for import and create
Browse files Browse the repository at this point in the history
  • Loading branch information
i5hi committed Oct 20, 2023
1 parent 5539af1 commit 38759cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/create/page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ class _Screen extends StatelessWidget {
const Words(),
const Gap(32),
const CreateWalletPassField(),
const Gap(32),
const _WalletLabel(),
const Gap(12),
const CreateWalletLabel(),
const Gap(40),
const CreateWalletCreateButton(),
const Gap(80),
Expand Down Expand Up @@ -154,15 +154,15 @@ class CreateWalletPassField extends HookWidget {
}
}

class _WalletLabel extends StatelessWidget {
const _WalletLabel();
class CreateWalletLabel extends StatelessWidget {
const CreateWalletLabel();

@override
Widget build(BuildContext context) {
final text = context.select((CreateWalletCubit cubit) => cubit.state.walletLabel ?? '');

return Padding(
padding: const EdgeInsets.symmetric(horizontal: 32),
padding: const EdgeInsets.all(16.0),
child: BBTextInput.big(
value: text,
onChanged: (value) => context.read<CreateWalletCubit>().walletLabelChanged(value),
Expand Down

0 comments on commit 38759cb

Please sign in to comment.