Bumped Gradle to 8.14 and fixed build warnings
This commit is contained in:
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user