Pārlūkot izejas kodu

fix: locale data deserializere error

appflowy 3 gadi atpakaļ
vecāks
revīzija
a6f675c1d9

+ 1 - 0
shared-lib/flowy-user-data-model/src/entities/user_setting.rs

@@ -16,6 +16,7 @@ pub struct AppearanceSettings {
     pub theme: String,
 
     #[pb(index = 2)]
+    #[serde(default)]
     pub locale: LocaleSettings,
 
     #[pb(index = 3)]