Skip to content

Commit

Permalink
Merge pull request #1864 from matthiasn/fix/drop_on_same_checklist
Browse files Browse the repository at this point in the history
fix: drop on same checklist
  • Loading branch information
matthiasn authored Dec 8, 2024
2 parents 4d3419b + 42a700c commit 5303ac6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
4 changes: 4 additions & 0 deletions lib/features/tasks/state/checklist_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ class ChecklistController extends _$ChecklistController {
final droppedChecklistItemId = localData['checklistItemId'] as String;
final fromChecklistId = localData['checklistId'] as String;

if (fromChecklistId == entryId) {
return;
}

await ref
.read(
checklistItemControllerProvider(id: droppedChecklistItemId)
Expand Down
36 changes: 18 additions & 18 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -563,10 +563,10 @@ packages:
dependency: "direct main"
description:
name: drift
sha256: "530d6c5a79723dff418c49c0bb498360fd77c965ea234587e345826cb63ecdd2"
sha256: c2d073d35ad441730812f4ea05b5dd031fb81c5f9786a4f5fb77ecd6307b6f74
url: "https://pub.dev"
source: hosted
version: "2.22.0"
version: "2.22.1"
drift_dev:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -739,10 +739,10 @@ packages:
dependency: "direct main"
description:
name: flex_color_scheme
sha256: ad9695ebdf7e2709b0311cac6a8f887984666e56884eecafa008d236ec3fc0c7
sha256: "90f4fe67b9561ae8a4af117df65a8ce9988624025667c54e6d304e65cff77d52"
url: "https://pub.dev"
source: hosted
version: "8.0.1"
version: "8.0.2"
flex_seed_scheme:
dependency: transitive
description:
Expand Down Expand Up @@ -2240,58 +2240,58 @@ packages:
dependency: transitive
description:
name: quill_native_bridge_android
sha256: df94b59081dfded10052b61fd4bb80a013499029841d3f64b753b117c8db9dc3
sha256: "7d77c4aafe0daf73df01e996d0ac37a0401e19b92210ce5fce76cb064cf57b18"
url: "https://pub.dev"
source: hosted
version: "0.0.1-dev.5"
version: "0.0.1"
quill_native_bridge_ios:
dependency: transitive
description:
name: quill_native_bridge_ios
sha256: "2bec0c95558eea85f422767c6ddab87ef774cf5fe4222e295a436a169d314ecc"
sha256: d23de3cd7724d482fe2b514617f8eedc8f296e120fb297368917ac3b59d8099f
url: "https://pub.dev"
source: hosted
version: "0.0.1-dev.6"
version: "0.0.1"
quill_native_bridge_linux:
dependency: transitive
description:
name: quill_native_bridge_linux
sha256: d226004634b69119007dffb95c88e06698644c1b3adfe984b78024129e223426
sha256: "5fcc60cab2ab9079e0746941f05c5ca5fec85cc050b738c8c8b9da7c09da17eb"
url: "https://pub.dev"
source: hosted
version: "0.0.1-dev.4"
version: "0.0.1"
quill_native_bridge_macos:
dependency: transitive
description:
name: quill_native_bridge_macos
sha256: "9bbe855cc2248f098732794a4861852fede97a384299b02646cb3dbfbc996a87"
sha256: "1c0631bd1e2eee765a8b06017c5286a4e829778f4585736e048eb67c97af8a77"
url: "https://pub.dev"
source: hosted
version: "0.0.1-dev.5"
version: "0.0.1"
quill_native_bridge_platform_interface:
dependency: transitive
description:
name: quill_native_bridge_platform_interface
sha256: fdfc1001c9a152eb5789916f55da97a3de548ccd41fe3cdd0bfcc371bdf41d10
sha256: "2d71b6c5106db0a4b1d788640d1b949ccdd0e570b5a5e0384f7b28be9630a94a"
url: "https://pub.dev"
source: hosted
version: "0.0.1-dev.5"
version: "0.0.1"
quill_native_bridge_web:
dependency: transitive
description:
name: quill_native_bridge_web
sha256: ad8076ad740318b3cf6b9a043d3dc206bb2e1383e5371cbe09711b9c609b64a0
sha256: e7e55047d68f1a88574c26dbe3f12988f49d07740590d8fc6280028bbde5b908
url: "https://pub.dev"
source: hosted
version: "0.0.1-dev.6"
version: "0.0.1"
quill_native_bridge_windows:
dependency: transitive
description:
name: quill_native_bridge_windows
sha256: "62583f68dd426aa9a98a0582631780db44d0c6708625d27f84cc87bf02e49ea3"
sha256: "60e50d74238f22ceb43113d9a42b6627451dab9fc27f527b979a32051cf1da45"
url: "https://pub.dev"
source: hosted
version: "0.0.1-dev.4"
version: "0.0.1"
quiver:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: lotti
description: Achieve your goals and keep your data private with Lotti.
publish_to: 'none'
version: 0.9.537+2756
version: 0.9.537+2757

msix_config:
display_name: LottiApp
Expand Down

0 comments on commit 5303ac6

Please sign in to comment.