style: 运行 cargo fmt 修正格式(备份命令/更新比较/事件与设置文件的换行与缩进)
Sync source to CNB / Sync Git ref (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
This commit is contained in:
1 parent
b633f7cdf0
commit
fe61337a34
5 files changed
+21
-22
No files matched your search
@@ -1,9 +1,8 @@
|
||||
use super::{FriendPayload, LoadingBarId};
|
||||
use crate::event::{
|
||||
CommandPayload, EventError, InstanceBackupProgressPayload,
|
||||
InstanceBulkUpdateProgressPayload,
|
||||
InstancePayloadType, LoadingBar, LoadingBarType, ProcessPayloadType,
|
||||
ServerPayloadType,
|
||||
InstanceBulkUpdateProgressPayload, InstancePayloadType, LoadingBar,
|
||||
LoadingBarType, ProcessPayloadType, ServerPayloadType,
|
||||
};
|
||||
#[cfg(feature = "tauri")]
|
||||
use crate::event::{
|
||||
|
||||
@@ -681,10 +681,12 @@ impl Settings {
|
||||
.bind(&self.ui_font)
|
||||
.execute(exec)
|
||||
.await?;
|
||||
sqlx::query("UPDATE settings SET backup_repository_path = ? WHERE id = 0")
|
||||
.bind(&self.backup_repository_path)
|
||||
.execute(exec)
|
||||
.await?;
|
||||
sqlx::query(
|
||||
"UPDATE settings SET backup_repository_path = ? WHERE id = 0",
|
||||
)
|
||||
.bind(&self.backup_repository_path)
|
||||
.execute(exec)
|
||||
.await?;
|
||||
sqlx::query("UPDATE settings SET mono_font = ? WHERE id = 0")
|
||||
.bind(&self.mono_font)
|
||||
.execute(exec)
|
||||
|
||||
Reference in new issue
Block a user