mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-13 19:57:11 +01:00
Fixed enable/disable bug in discord-integration
This commit is contained in:
parent
7d6ecf923b
commit
61ebff209b
@ -42,15 +42,14 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void enable() {
|
void enable() {
|
||||||
startPresence();
|
|
||||||
workerRunning = true;
|
workerRunning = true;
|
||||||
enabled = true;
|
enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void disable() {
|
void disable() {
|
||||||
Discord_ClearPresence();
|
|
||||||
workerRunning = false;
|
workerRunning = false;
|
||||||
enabled = false;
|
enabled = false;
|
||||||
|
Discord_ClearPresence();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isEnabled() {
|
bool isEnabled() {
|
||||||
|
Loading…
Reference in New Issue
Block a user