Bumped Gradle to 8.14 and fixed build warnings

This commit is contained in:
2026-07-05 00:17:20 +02:00
parent b14e8c8ea2
commit 35e144799e
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
@@ -117,9 +117,7 @@ class ModuleSortBody extends StatelessWidget {
) )
.values .values
.toList(), .toList(),
onReorder: (oldIndex, newIndex) { onReorderItem: (oldIndex, newIndex) {
if (newIndex > oldIndex) newIndex -= 1;
var order = settings.val().modulesSettings.moduleOrder.toList(); var order = settings.val().modulesSettings.moduleOrder.toList();
final movedModule = order.removeAt(oldIndex); final movedModule = order.removeAt(oldIndex);
order.insert(newIndex, movedModule); order.insert(newIndex, movedModule);