mirror of
https://github.com/tauri-apps/cargo-mobile2.git
synced 2026-01-31 00:35:21 +01:00
feat(apple): add Device::is_paired getter
This commit is contained in:
5
.changes/is-paired.md
Normal file
5
.changes/is-paired.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"cargo-mobile2": patch
|
||||
---
|
||||
|
||||
Added `apple::device::Device::is_paired`.
|
||||
@@ -124,6 +124,10 @@ impl<'a> Device<'a> {
|
||||
self.kind
|
||||
}
|
||||
|
||||
pub fn is_paired(&self) -> bool {
|
||||
self.paired
|
||||
}
|
||||
|
||||
pub fn run(
|
||||
&self,
|
||||
config: &Config,
|
||||
|
||||
Reference in New Issue
Block a user