Merge branch 'development' into feature/180-Spielerprofile-implementieren
This commit is contained in:
@@ -348,16 +348,17 @@ class _MatchResultViewState extends State<MatchResultView> {
|
||||
onReorderEnd: (int n) async {
|
||||
await HapticFeedback.selectionClick();
|
||||
},
|
||||
onReorder: (int oldIndex, int newIndex) {
|
||||
setState(() {
|
||||
if (newIndex > oldIndex) {
|
||||
newIndex -= 1;
|
||||
}
|
||||
final Player item = allPlayers
|
||||
.removeAt(oldIndex);
|
||||
allPlayers.insert(newIndex, item);
|
||||
});
|
||||
},
|
||||
onReorderItem:
|
||||
(int oldIndex, int newIndex) {
|
||||
setState(() {
|
||||
if (newIndex > oldIndex) {
|
||||
newIndex -= 1;
|
||||
}
|
||||
final Player item = allPlayers
|
||||
.removeAt(oldIndex);
|
||||
allPlayers.insert(newIndex, item);
|
||||
});
|
||||
},
|
||||
itemCount: allPlayers.length,
|
||||
itemBuilder: (context, index) {
|
||||
return TextIconListTile(
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user