-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/rust-key-derivation' into feat/dart-key-derivation
- Loading branch information
Showing
42 changed files
with
1,082 additions
and
1,249 deletions.
There are no files selected for viewing
73 changes: 0 additions & 73 deletions
73
catalyst_voices/apps/voices/lib/pages/treasury/campaign_builder_panel.dart
This file was deleted.
Oops, something went wrong.
144 changes: 0 additions & 144 deletions
144
catalyst_voices/apps/voices/lib/pages/treasury/campaign_details.dart
This file was deleted.
Oops, something went wrong.
117 changes: 0 additions & 117 deletions
117
catalyst_voices/apps/voices/lib/pages/treasury/campaign_segment_controller.dart
This file was deleted.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
catalyst_voices/apps/voices/lib/pages/treasury/treasury_body.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import 'package:catalyst_voices/pages/treasury/treasury_campaign_setup.dart'; | ||
import 'package:catalyst_voices_view_models/catalyst_voices_view_models.dart'; | ||
import 'package:flutter/material.dart'; | ||
|
||
class TreasuryBody extends StatelessWidget { | ||
final List<TreasurySection> sections; | ||
|
||
const TreasuryBody({ | ||
super.key, | ||
required this.sections, | ||
}); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return ListView.separated( | ||
padding: const EdgeInsets.only(top: 10), | ||
itemCount: sections.length, | ||
itemBuilder: (context, index) { | ||
final section = sections[index]; | ||
|
||
switch (section) { | ||
case CampaignSetup(): | ||
return TreasuryCampaignSetup( | ||
key: ValueKey('CampaignSetupSection[${section.id}]Key'), | ||
data: section, | ||
); | ||
} | ||
}, | ||
separatorBuilder: (context, index) => const SizedBox(height: 24), | ||
); | ||
} | ||
} |
27 changes: 0 additions & 27 deletions
27
catalyst_voices/apps/voices/lib/pages/treasury/treasury_campaign_builder_ext.dart
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.