@@ -30,7 +30,7 @@ public string Password
30
30
{
31
31
if ( ! string . IsNullOrEmpty ( value ) )
32
32
{
33
- Passwords [ DateTime . Now . Ticks ] = value ;
33
+ Passwords [ DateTime . Now ] = value ;
34
34
35
35
if ( _service != null )
36
36
{
@@ -40,7 +40,7 @@ public string Password
40
40
}
41
41
}
42
42
43
- Dictionary < long , string > IAccount . Passwords => new ( Passwords ) ;
43
+ Dictionary < DateTime , string > IAccount . Passwords => new ( Passwords ) ;
44
44
45
45
string IAccount . Notes
46
46
{
@@ -75,7 +75,7 @@ internal Service Service
75
75
76
76
public string Label { get ; set ; } = string . Empty ;
77
77
public string [ ] Identifiants { get ; set ; } = [ ] ;
78
- public Dictionary < long , string > Passwords { get ; set ; } = [ ] ;
78
+ public Dictionary < DateTime , string > Passwords { get ; set ; } = [ ] ;
79
79
public string Notes { get ; set ; } = string . Empty ;
80
80
public int PasswordUpdateReminderDelay { get ; set ; } = 0 ;
81
81
public AccountOption Options { get ; set ; } = AccountOption . None ;
@@ -97,7 +97,7 @@ public void Apply(Change change)
97
97
Notes = Database . SerializationCenter . Deserialize < string > ( change . Value ) ;
98
98
break ;
99
99
case nameof ( Passwords ) :
100
- Passwords = Database . SerializationCenter . Deserialize < Dictionary < long , string > > ( change . Value ) ;
100
+ Passwords = Database . SerializationCenter . Deserialize < Dictionary < DateTime , string > > ( change . Value ) ;
101
101
break ;
102
102
case nameof ( PasswordUpdateReminderDelay ) :
103
103
PasswordUpdateReminderDelay = Database . SerializationCenter . Deserialize < int > ( change . Value ) ;
0 commit comments