-
Notifications
You must be signed in to change notification settings - Fork 250
chore(fiat-onramp): temporarily disable Ramp until API keys are regenerated #3015
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,7 +48,10 @@ class _FiatPageState extends State<FiatPage> with TickerProviderStateMixin { | |
| Widget build(BuildContext context) { | ||
| final coinsRepository = RepositoryProvider.of<CoinsRepo>(context); | ||
| final fiatRepository = FiatRepository( | ||
| [BanxaFiatProvider(), RampFiatProvider()], | ||
| // Ramp API keys unavailable for the time being | ||
| // TODO(takenagain): re-enable when API keys are available | ||
| // [BanxaFiatProvider(), RampFiatProvider()], | ||
| [BanxaFiatProvider()], | ||
| coinsRepository, | ||
|
Comment on lines
+51
to
55
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Since the provider list no longer contains -import 'package:web_dex/bloc/fiat/ramp/ramp_fiat_provider.dart';
+// import removed while Ramp is disabled – add back when keys are refreshedor add the provider conditionally behind a compile-time flag so the import remains referenced when enabled. Neglecting this will cause CI to break if unused-import warnings are treated as errors. 🤖 Prompt for AI Agents |
||
| ); | ||
| final sdk = RepositoryProvider.of<KomodoDefiSdk>(context); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the
RampFiatProvider()is disabled, are the changes tolib/bloc/fiat/models/fiat_payment_method.dartstill necessary? I haven't looked at the full context yet, but I assume the available options are populated dynamically based on the registered providers.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
defaultFiatPaymentMethodsis a placeholder value used when