@@ -220,11 +220,10 @@ public string ItemType
220
220
}
221
221
}
222
222
223
- public string FileExtension
224
- {
225
- get => fileExtension ;
226
- set => SetProperty ( ref fileExtension , value ) ;
227
- }
223
+ public string FileExtension { get ; set ; }
224
+
225
+ private string fileSize ;
226
+
228
227
public string FileSize
229
228
{
230
229
get => fileSize ;
@@ -234,6 +233,7 @@ public string FileSize
234
233
OnPropertyChanged ( nameof ( FileSizeDisplay ) ) ;
235
234
}
236
235
}
236
+
237
237
public string FileSizeDisplay => string . IsNullOrEmpty ( FileSize ) ? "ItemSizeNotCalcluated" . GetLocalized ( ) : FileSize ;
238
238
public long FileSizeBytes { get ; set ; }
239
239
public string ItemDateModified { get ; private set ; }
@@ -260,7 +260,7 @@ public DateTimeOffset ItemDateCreatedReal
260
260
{
261
261
ItemDateCreated = value . GetFriendlyDateFromFormat ( DateReturnFormat ) ;
262
262
itemDateCreatedReal = value ;
263
- OnPropertyChanged ( nameof ( ItemDateCreatedReal ) ) ;
263
+ OnPropertyChanged ( nameof ( ItemDateCreated ) ) ;
264
264
}
265
265
}
266
266
@@ -273,7 +273,7 @@ public DateTimeOffset ItemDateAccessedReal
273
273
{
274
274
ItemDateAccessed = value . GetFriendlyDateFromFormat ( DateReturnFormat ) ;
275
275
itemDateAccessedReal = value ;
276
- OnPropertyChanged ( nameof ( ItemDateAccessedReal ) ) ;
276
+ OnPropertyChanged ( nameof ( ItemDateAccessed ) ) ;
277
277
}
278
278
}
279
279
@@ -355,8 +355,6 @@ public override string ToString()
355
355
public bool IsPinned => App . SidebarPinnedController . Model . FavoriteItems . Contains ( itemPath ) ;
356
356
357
357
private BaseStorageFile itemFile ;
358
- private string fileExtension ;
359
- private string fileSize ;
360
358
361
359
public BaseStorageFile ItemFile
362
360
{
0 commit comments