mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-07-14 19:10:28 +03:00
parent
06d63d67a0
commit
60bf11abcb
5
.changes/re-export-progress-bar-status.md
Normal file
5
.changes/re-export-progress-bar-status.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'tauri': 'patch:bug'
|
||||
---
|
||||
|
||||
Export `ProgressBarStatus`, regression introduced in `2.0.0-beta.4`
|
@ -12,6 +12,9 @@ use tauri_runtime::{
|
||||
};
|
||||
pub use tauri_utils::{config::Color, WindowEffect as Effect, WindowEffectState as EffectState};
|
||||
|
||||
#[cfg(desktop)]
|
||||
pub use crate::runtime::ProgressBarStatus;
|
||||
|
||||
use crate::{
|
||||
app::AppHandle,
|
||||
event::{Event, EventId, EventTarget},
|
||||
@ -1939,7 +1942,7 @@ tauri::Builder::default()
|
||||
#[derive(serde::Deserialize)]
|
||||
pub struct ProgressBarState {
|
||||
/// The progress bar status.
|
||||
pub status: Option<crate::runtime::ProgressBarStatus>,
|
||||
pub status: Option<ProgressBarStatus>,
|
||||
/// The progress bar progress. This can be a value ranging from `0` to `100`
|
||||
pub progress: Option<u64>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user