Skip to content

Commit

Permalink
Merge pull request #4 from AnexDev1/main
Browse files Browse the repository at this point in the history
refactor: make currency optional
  • Loading branch information
mrnpro authored Aug 29, 2024
2 parents c94ab8a + d191e99 commit 3634ef1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .flutter-plugins
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This is a generated file; do not edit or check into version control.
flutter_inappwebview=C:\\Users\\MRN\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\flutter_inappwebview-5.8.0\\
flutter_inappwebview=/home/nexdev/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_inappwebview","path":"C:\\\\Users\\\\MRN\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\flutter_inappwebview-5.8.0\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_inappwebview","path":"C:\\\\Users\\\\MRN\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\flutter_inappwebview-5.8.0\\\\","native_build":true,"dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_inappwebview","dependencies":[]}],"date_created":"2024-02-24 12:36:42.394349","version":"3.16.8"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_inappwebview","path":"/home/nexdev/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_inappwebview","path":"/home/nexdev/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.8.0/","native_build":true,"dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_inappwebview","dependencies":[]}],"date_created":"2024-08-30 00:13:46.095605","version":"3.22.3"}
4 changes: 1 addition & 3 deletions lib/src/chapa.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ import 'Core/http_config.dart';
import 'Core/type_definitions.dart';
import 'Data/DataSource/RemoteDataSource/chapa_remote_data_source.dart';
import 'Data/DataSource/RemoteDataSource/chapa_remote_data_source_impl.dart';

import 'Data/Repository/chapa_repo_impl.dart';
import 'Domain/Entities/authorization_entity.dart';
import 'Domain/Entities/chapa_initializer_entity.dart';

import 'Domain/Repository/chapa_repo.dart';
import 'Domain/Usecase/intialize_usecase.dart';
import 'Domain/Usecase/verify_usecase.dart';
Expand Down Expand Up @@ -97,7 +95,7 @@ class Chapa {
String errorMsg,
)? onInAppPaymentError,
required String amount,
required String currency,
String currency = 'ETB',
String? txRef,
String? email,
String? firstName,
Expand Down

0 comments on commit 3634ef1

Please sign in to comment.