File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11{
2- "geode" : " 4.3.1 " ,
2+ "geode" : " 4.4.0 " ,
33 "version" : " v1.5.1" ,
44 "gd" : {
55 "win" : " 2.2074" ,
310310 "type" : " bool" ,
311311 "default" : true
312312 },
313+ "server-notification" : {
314+ "name" : " Server Notification" ,
315+ "description" : " Whether or not to notify when you <cy>connect or reconnect</c> to the GDUtils notification servers." ,
316+ "type" : " bool" ,
317+ "default" : false
318+ },
313319 "previewIcons" : {
314320 "name" : " Preview Icons" ,
315321 "description" : " Show some buttons to preview icons in the <cg>Icon Kit</c> for those who haven't been unlocked yet." ,
Original file line number Diff line number Diff line change @@ -312,7 +312,9 @@ class EventHandler : public CCObject {
312312 if (scene->getChildrenCount () == 0 ) return ;
313313 if (show_connected) {
314314 show_connected = false ;
315- Notification::create (" Connected to Rate Server!" , NotificationIcon::Success)->show ();
315+ if (Mod::get ()->template getSettingValue <bool >(" server-notification" )) {
316+ Notification::create (" Connected to Rate Server!" , NotificationIcon::Success)->show ();
317+ }
316318 }
317319 auto layer = scene->getChildren ()->objectAtIndex (0 );
318320 if (ProcessLambdas::shouldProcessMenuHandler ()) {
You can’t perform that action at this time.
0 commit comments