Bumped Gradle to 8.14 and fixed build warnings
This commit is contained in:
@@ -117,9 +117,7 @@ class ModuleSortBody extends StatelessWidget {
|
||||
)
|
||||
.values
|
||||
.toList(),
|
||||
onReorder: (oldIndex, newIndex) {
|
||||
if (newIndex > oldIndex) newIndex -= 1;
|
||||
|
||||
onReorderItem: (oldIndex, newIndex) {
|
||||
var order = settings.val().modulesSettings.moduleOrder.toList();
|
||||
final movedModule = order.removeAt(oldIndex);
|
||||
order.insert(newIndex, movedModule);
|
||||
|
||||
Reference in New Issue
Block a user