mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-03-11 13:05:49 +00:00
chore: remove is active func
Some checks failed
Continuous integration / test (push) Has been cancelled
Some checks failed
Continuous integration / test (push) Has been cancelled
This commit is contained in:
parent
bb0a81932a
commit
45dcf8e32d
1 changed files with 0 additions and 7 deletions
|
|
@ -54,13 +54,6 @@ impl DiscordRpc {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn is_connected(&self) -> bool {
|
||||
self.client
|
||||
.lock()
|
||||
.map(|guard| guard.is_some())
|
||||
.unwrap_or(false)
|
||||
}
|
||||
|
||||
pub fn set_activity(
|
||||
&self,
|
||||
state: &str,
|
||||
|
|
|
|||
Loading…
Reference in a new issue