Skip to content

Commit

Permalink
Merge pull request #289 from poppingmoon/fix-photo-edit
Browse files Browse the repository at this point in the history
クロップ時に元の画像のサイズを超えないように
  • Loading branch information
shiosyakeyakini-info authored Sep 9, 2023
2 parents da9c337 + b18f555 commit 1f52201
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 100 deletions.
5 changes: 1 addition & 4 deletions lib/providers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,7 @@ final errorEventProvider =

final photoEditProvider =
StateNotifierProvider.autoDispose<PhotoEditStateNotifier, PhotoEdit>(
(ref) => PhotoEditStateNotifier(
const PhotoEdit(),
ref.read(dioProvider),
),
(ref) => PhotoEditStateNotifier(const PhotoEdit()),
);

final importExportRepository =
Expand Down
Loading

0 comments on commit 1f52201

Please sign in to comment.