mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 10:28:28 +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() {
|
||||
startPresence();
|
||||
workerRunning = true;
|
||||
enabled = true;
|
||||
}
|
||||
|
||||
void disable() {
|
||||
Discord_ClearPresence();
|
||||
workerRunning = false;
|
||||
enabled = false;
|
||||
Discord_ClearPresence();
|
||||
}
|
||||
|
||||
bool isEnabled() {
|
||||
|
Loading…
Reference in New Issue
Block a user