v0.3.8-pre.006-fix.001
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// file: crates/ksp-app-store-desk/src/tw_main.rs
|
||||
// version: 1
|
||||
// version: 2
|
||||
|
||||
//! Tauri-window helpers for the Store Desk main window.
|
||||
|
||||
use tauri::Manager; // rust-rules: trait-import
|
||||
|
||||
/// Crate-internal `WINDOW_LABEL_MAIN` constant.
|
||||
pub(crate) const WINDOW_LABEL_MAIN: &str = "main";
|
||||
/// Private main-window label owned by this module.
|
||||
const WINDOW_LABEL_MAIN: &str = "main";
|
||||
|
||||
/// Resolves the required main window or returns a typed error.
|
||||
pub(crate) fn require_main_window(manager: &impl Manager<tauri::Wry>) -> ksp_core_lib::Result<tauri::WebviewWindow> {
|
||||
|
||||
Reference in New Issue
Block a user