Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allowed zero fee entry #235

Merged
merged 1 commit into from
Mar 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions starport_template/lib/pages/custom_fee_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ class _CustomFeePageState extends State<CustomFeePage> {
),
body: SafeArea(
child: Padding(
padding: EdgeInsets.symmetric(horizontal: CosmosTheme.of(context).spacingL),
padding: EdgeInsets.symmetric(
horizontal: CosmosTheme.of(context).spacingL,
),
child: Column(
children: [
CosmosTextField(
Expand All @@ -57,7 +59,7 @@ class _CustomFeePageState extends State<CustomFeePage> {
children: [
Expanded(
child: CosmosElevatedButton(
onTap: fee == 0.0 ? null : _onTapSave,
onTap: _onTapSave,
text: 'Save',
),
)
Expand Down
4 changes: 2 additions & 2 deletions starport_template/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ packages:
name: url_launcher_web
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.9"
version: "2.0.6"
url_launcher_windows:
dependency: transitive
description:
Expand Down Expand Up @@ -906,4 +906,4 @@ packages:
version: "3.1.0"
sdks:
dart: ">=2.15.0 <3.0.0"
flutter: ">=2.10.0"
flutter: ">=2.8.0"