Sedikit merapihkan kode
This commit is contained in:
1 parent
9787d1619e
commit
0bf140dff2
2 files changed
+5
-4
No files matched your search
+2
-1
@@ -1,4 +1,3 @@
|
||||
use crate::commands::{daftar_perangkat, kirim};
|
||||
use tauri::{
|
||||
Manager, Runtime,
|
||||
plugin::{Builder, TauriPlugin},
|
||||
@@ -22,6 +21,8 @@ use desktop::Bluclas;
|
||||
#[cfg(mobile)]
|
||||
use mobile::Bluclas;
|
||||
|
||||
use crate::commands::{daftar_perangkat, kirim};
|
||||
|
||||
/// Extensions to [`tauri::App`], [`tauri::AppHandle`] and [`tauri::Window`] to access the bluclas APIs.
|
||||
pub trait BluclasExt<R: Runtime> {
|
||||
fn bluclas(&self) -> &Bluclas<R>;
|
||||
|
||||
Reference in new issue
Block a user