mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-26 01:34:38 +10:00
Ensured everything is serializing/deserializing to camelCase
This commit is contained in:
@@ -18,6 +18,7 @@ use std::{
|
||||
use tauri_plugin_deep_link::DeepLinkExt;
|
||||
|
||||
#[derive(Clone, Copy, Serialize)]
|
||||
#[serde(rename_all="camelCase")]
|
||||
pub enum AppStatus {
|
||||
NotConfigured,
|
||||
SignedOut,
|
||||
@@ -35,6 +36,7 @@ pub struct User {
|
||||
}
|
||||
|
||||
#[derive(Clone, Serialize)]
|
||||
#[serde(rename_all="camelCase")]
|
||||
pub struct AppState {
|
||||
status: AppStatus,
|
||||
user: Option<User>,
|
||||
|
||||
Reference in New Issue
Block a user