Skip to content

Commit

Permalink
beta 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSillyDoggo committed Feb 25, 2024
1 parent 69fc97f commit 2520f08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "2.0.0",
"version": "v1.0.0-beta.1",
"version": "v1.0.0-beta.2",
"gd": {
"win": "2.204",
"mac": "2.200",
Expand Down
5 changes: 5 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ class $modify (ShareCommentLayerExt, ShareCommentLayer)
if (!ShareCommentLayer::init(p0, p1, p2, p3, p4))
return false;

log::info(p0.c_str());

if (!(std::string(p0) == "Post Update" || std::string(p0) == "Add Comment"))
return true;

if (auto l = as<CCLayer*>(this->getChildren()->objectAtIndex(0)))
{
if (auto i = getChildOfType<CCTextInputNode>(l, 0))
Expand Down

0 comments on commit 2520f08

Please sign in to comment.