@@ -45,6 +45,7 @@ pub struct StorablePersistentState {
4545
4646 // Feature flags
4747 feature_flag_continue_from_another_device : Option < bool > ,
48+ feature_flag_enable_generic_open_id_fe : Option < bool > ,
4849}
4950
5051impl Storable for StorablePersistentState {
@@ -92,6 +93,7 @@ impl From<PersistentState> for StorablePersistentState {
9293 is_production : s. is_production ,
9394 dummy_auth : s. dummy_auth ,
9495 feature_flag_continue_from_another_device : s. feature_flag_continue_from_another_device ,
96+ feature_flag_enable_generic_open_id_fe : s. feature_flag_enable_generic_open_id_fe ,
9597 }
9698 }
9799}
@@ -117,6 +119,7 @@ impl From<StorablePersistentState> for PersistentState {
117119 is_production : s. is_production ,
118120 dummy_auth : s. dummy_auth ,
119121 feature_flag_continue_from_another_device : s. feature_flag_continue_from_another_device ,
122+ feature_flag_enable_generic_open_id_fe : s. feature_flag_enable_generic_open_id_fe ,
120123 }
121124 }
122125}
@@ -170,6 +173,7 @@ mod tests {
170173 is_production : None ,
171174 dummy_auth : None ,
172175 feature_flag_continue_from_another_device : None ,
176+ feature_flag_enable_generic_open_id_fe : None ,
173177 } ;
174178
175179 assert_eq ! ( StorablePersistentState :: default ( ) , expected_defaults) ;
@@ -199,6 +203,7 @@ mod tests {
199203 is_production : None ,
200204 dummy_auth : None ,
201205 feature_flag_continue_from_another_device : None ,
206+ feature_flag_enable_generic_open_id_fe : None ,
202207 } ;
203208 assert_eq ! ( PersistentState :: default ( ) , expected_defaults) ;
204209 }
0 commit comments