Skip to content

Commit

Permalink
no "shit" word because of geode rules :D
Browse files Browse the repository at this point in the history
  • Loading branch information
user95401 committed Oct 13, 2024
1 parent e96822d commit c3f18a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ You will be [blocked](https://docs.github.com/en/communities/maintaining-your-sa
- **spam** (many messages, flood, very big text walls)
- ~~excessive cursing~~
- advertising
- and other obvious **bad** shit
- and other obvious **bad** stuff

If you see someone doin that, [create report issue](https://github.com/user95401/Geode-Mod-Comments/issues/new/choose) by template!
2 changes: 1 addition & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ You will be [blocked](https://docs.github.com/en/communities/maintaining-your-sa
- **spam** (many messages, flood, very big text walls)
- ~~excessive cursing~~
- *intrusive* advertising
- and other obvious **bad** shit
- and other obvious **bad** stuff

If you see someone doin that, [create report issue](https://github.com/user95401/Geode-Mod-Comments/issues/new?assignees=&labels=report&projects=&template=1-REPORT_USER.yml&title=Report+User) by template!
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"id": "user95401.geode-mod-comments",
"name": "Mod Comments",
"version": "v1.1.0",
"version": "v1.1.1",
"developer": "user95401",
"description": "add comments in mod popups",
"tags": [ "online", "enhancement", "interface", "content", "developer" ],
Expand Down
10 changes: 5 additions & 5 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class GitHubAuthPopup : public FLAlertLayer, FLAlertLayerProtocol {
std::string error;
auto json_val = matjson::parse(data, error);
if (error.size() > 0) return b("Error parsing JSON: " + error);
//call the some shit
//call the some stuff
if (res->code() < 399) a(json_val);
else b(data);
}
Expand Down Expand Up @@ -541,7 +541,7 @@ class IssueCommentItem : public CCLayer {
[this, a, filep](web::WebTask::Event* e) {
if (web::WebResponse* res = e->getValue()) {
std::string data = res->string().unwrapOr("");
//call the some shit
//call the some stuff
if (res->code() < 399) {
res->into(filep);
a(std::monostate());
Expand Down Expand Up @@ -784,7 +784,7 @@ class IssueCommentItem : public CCLayer {
auto json = res->json().value_or(matjson::Value());
if (json.contains("message")) data = json["message"].as_string();
if (json["errors"].is_array()) for (auto err : json["errors"].as_array()) data += ", " + err["message"].as_string();
//call the some shit
//call the some stuff
if (res->code() < 399) a(data);
else b(data);
}
Expand Down Expand Up @@ -864,7 +864,7 @@ class CommentsLayer : public CCLayer {

contentLayer->addChild(item);
}
//fix some shit goes when content smaller than scroll
//fix some stuff goes when content smaller than scroll
if (contentLayer->getContentSize().height < scroll->getContentSize().height) {
contentLayer->setContentSize({
contentLayer->getContentSize().width,
Expand Down Expand Up @@ -1246,7 +1246,7 @@ void hi() {
auto json = res->json().value_or(matjson::Value());
if (json.contains("message")) data = json["message"].as_string();
if (json["errors"].is_array()) for (auto err : json["errors"].as_array()) data += ", " + err["message"].as_string();
//call the some shit
//call the some stuff
if (res->code() < 399) a(data);
else b(data);
}
Expand Down

0 comments on commit c3f18a7

Please sign in to comment.