From 27c0c53700e96a1505948bf4ac597878ac10a823 Mon Sep 17 00:00:00 2001 From: Cvolton Date: Wed, 3 Jul 2024 14:46:09 +0200 Subject: [PATCH] fix improper assignment of claim-button in LevelListLayer --- changelog.md | 3 +++ mod.json | 2 +- src/LevelListLayer.cpp | 3 +-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 646662e..7dfc767 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Node IDs Changelog +## v1.13.1 +* Fixed improper assignment of claim-button in LevelListLayer + ## v1.13.0 * Added LevelListLayer * Added FriendsProfilePage diff --git a/mod.json b/mod.json index 8965710..8512cd7 100644 --- a/mod.json +++ b/mod.json @@ -6,7 +6,7 @@ "mac": "2.206", "ios": "2.205" }, - "version": "v1.13.0", + "version": "v1.13.1", "id": "geode.node-ids", "name": "Node IDs", "developer": "Geode Team", diff --git a/src/LevelListLayer.cpp b/src/LevelListLayer.cpp index 00d788b..20f8e5a 100644 --- a/src/LevelListLayer.cpp +++ b/src/LevelListLayer.cpp @@ -169,9 +169,8 @@ struct LevelListLayerIDs : Modify { static_cast(m_objects->objectAtIndex(idx++))->setID("small-diamonds-icon"); static_cast(m_objects->objectAtIndex(idx++))->setID("completed-icon"); static_cast(m_objects->objectAtIndex(idx++))->setID("completed-label"); + static_cast(m_objects->objectAtIndex(idx++))->setID("claim-button"); } - - static_cast(m_objects->objectAtIndex(idx++))->setID("claim-button"); } }