Skip to content

Commit

Permalink
fix: order with master
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa committed Nov 12, 2023
1 parent 26a21e7 commit 41dfcdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/widgets/device_grid/desktop/desktop_device_grid.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ class LayoutView extends StatelessWidget {
final loc = AppLocalizations.of(context);

return DragTarget<Device>(
onAccept: onAccept,
onWillAccept: onWillAccept,
onWillAcceptWithDetails: onWillAccept == null
? null
: (details) => onWillAccept!.call(details.data),
onAcceptWithDetails: (details) => onAccept?.call(details.data),
builder: (context, candidateItems, rejectedItems) {
late Widget child;

Expand Down
1 change: 0 additions & 1 deletion lib/widgets/device_grid/device_grid.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import 'package:bluecherry_client/providers/desktop_view_provider.dart';
import 'package:bluecherry_client/providers/mobile_view_provider.dart';
import 'package:bluecherry_client/providers/server_provider.dart';
import 'package:bluecherry_client/providers/settings_provider.dart';
import 'package:bluecherry_client/utils/config.dart';
import 'package:bluecherry_client/utils/constants.dart';
import 'package:bluecherry_client/utils/extensions.dart';
import 'package:bluecherry_client/utils/methods.dart';
Expand Down

0 comments on commit 41dfcdd

Please sign in to comment.