Skip to content

Commit e232f93

Browse files
authored
allowed zero fee entry (#235)
1 parent d64a4a3 commit e232f93

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

starport_template/lib/pages/custom_fee_page.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ class _CustomFeePageState extends State<CustomFeePage> {
4444
),
4545
body: SafeArea(
4646
child: Padding(
47-
padding: EdgeInsets.symmetric(horizontal: CosmosTheme.of(context).spacingL),
47+
padding: EdgeInsets.symmetric(
48+
horizontal: CosmosTheme.of(context).spacingL,
49+
),
4850
child: Column(
4951
children: [
5052
CosmosTextField(
@@ -57,7 +59,7 @@ class _CustomFeePageState extends State<CustomFeePage> {
5759
children: [
5860
Expanded(
5961
child: CosmosElevatedButton(
60-
onTap: fee == 0.0 ? null : _onTapSave,
62+
onTap: _onTapSave,
6163
text: 'Save',
6264
),
6365
)

starport_template/pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ packages:
847847
name: url_launcher_web
848848
url: "https://pub.dartlang.org"
849849
source: hosted
850-
version: "2.0.9"
850+
version: "2.0.6"
851851
url_launcher_windows:
852852
dependency: transitive
853853
description:
@@ -906,4 +906,4 @@ packages:
906906
version: "3.1.0"
907907
sdks:
908908
dart: ">=2.15.0 <3.0.0"
909-
flutter: ">=2.10.0"
909+
flutter: ">=2.8.0"

0 commit comments

Comments
 (0)