Skip to content

Commit

Permalink
updated some files
Browse files Browse the repository at this point in the history
  • Loading branch information
Raviramnani1 committed Jul 31, 2024
1 parent b7f1ce2 commit 0c46d4e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions easel/lib/repository/repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ class RepositoryImp implements Repository {
try {
final storageResponseModel = await remoteDataSource.uploadFile(file: file, uploadProgressCallback: onUploadProgressCallback);
return Right(storageResponseModel);
} on Exception catch (_) {
crashlyticsHelper.recordFatalError(error: _.toString());
} on Exception catch (e) {
crashlyticsHelper.recordFatalError(error: e.toString());
return Left(CacheFailure(LocaleKeys.update_failed.tr()));
}
}
Expand Down
1 change: 0 additions & 1 deletion easel/lib/widgets/loading.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class Loading {
}
return showDialog(
context: navigatorKey.currentState!.overlay!.context,
barrierDismissible: true,
barrierColor: Colors.white.withOpacity(0),
builder: (ctx) => PopScope(
canPop: false,
Expand Down
1 change: 0 additions & 1 deletion easel/lib/widgets/loading_with_progress.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class LoadingProgress {
}
return showDialog(
context: navigatorKey.currentState!.overlay!.context,
barrierDismissible: true,
builder: (ctx) => PopScope(
canPop: false,
child: AlertDialog(
Expand Down
1 change: 0 additions & 1 deletion wallet/lib/components/loading.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class Loading {
}
return showDialog(
context: navigatorKey.currentState!.overlay!.context,
barrierDismissible: true,
barrierColor: Colors.white.withOpacity(0),
builder: (ctx) => PopScope(
canPop: false,
Expand Down
1 change: 0 additions & 1 deletion wallet/lib/components/no_internet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class NoInternetDialog {

return showDialog(
context: navigatorKey.currentState!.overlay!.context,
barrierDismissible: true,
barrierColor: Colors.white.withOpacity(0),
builder: (ctx) {
setIsShowing = true;
Expand Down

0 comments on commit 0c46d4e

Please sign in to comment.