recent mize changes
This commit is contained in:
@@ -108,7 +108,7 @@ impl ClientAuth {
|
||||
|
||||
pub fn refresh(&mut self) -> MizeResult<()> {
|
||||
#[cfg(feature = "target-js")] {
|
||||
return Err(mize_err!("refresh is not supported on wasm"));
|
||||
console_log!("refresh is not implemented yet on wasm");
|
||||
}
|
||||
|
||||
#[cfg(feature = "target-os")] {
|
||||
@@ -321,6 +321,7 @@ pub fn part_client_auth(mize: &mut Mize) -> MizeResult<()> {
|
||||
// register command for obsidian
|
||||
#[cfg(feature = "target-obsidian")] {
|
||||
use crate::MartsCommand;
|
||||
console_log!("register obsidian command...");
|
||||
|
||||
let obsidian = mize.get_part_native::<crate::ObsidianPart>("obsidian")?;
|
||||
obsidian.add_command(MartsCommand {
|
||||
|
||||
Reference in New Issue
Block a user