Skip to content

Commit

Permalink
Revert "Fixed minor issue"
Browse files Browse the repository at this point in the history
This reverts commit 0d9be33.
  • Loading branch information
M97Chahboun committed Apr 29, 2024
1 parent 0d9be33 commit 9b281ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/flutter_rocket/example/test/fake_rocket_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ class RocketClientTest extends RocketClient {
RocketOnError? onError,
Map<String, dynamic>? data,
Map<String, dynamic>? params,
RetryOptions retryOptions = const RetryOptions()
}) async {
int maxRetries = 2}) async {
model!.state = RocketState.loading;
await Future.delayed(const Duration(seconds: 1));
try {
Expand Down
5 changes: 4 additions & 1 deletion packages/flutter_rocket/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ dependencies:
rocket_view: ^0.0.2
rocket_mini_view: ^0.0.1
rocket_client:
path: ../rocket_client
git:
url: https://github.com/JahezAcademy/flutter_rocket.git
path: packages/rocket_client/
ref: 90-support-retry-on-rocketclient
rocket_singleton: ^0.0.1


Expand Down

0 comments on commit 9b281ef

Please sign in to comment.