mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Cleanup
This commit is contained in:
@@ -274,7 +274,7 @@ namespace GHelper
|
|||||||
buttonDonate.Click += ButtonDonate_Click;
|
buttonDonate.Click += ButtonDonate_Click;
|
||||||
|
|
||||||
int click = AppConfig.Get("donate_click");
|
int click = AppConfig.Get("donate_click");
|
||||||
if (AppConfig.Get("start_count") >= ((click <= 0) ? 10 : click + 50))
|
if (AppConfig.Get("start_count") >= ((click < 10) ? 10 : click + 50))
|
||||||
{
|
{
|
||||||
buttonDonate.BorderColor = colorTurbo;
|
buttonDonate.BorderColor = colorTurbo;
|
||||||
buttonDonate.Badge = true;
|
buttonDonate.Badge = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user