diff --git a/Manager.App/Components/Layout/ApplicationLayout.razor.cs b/Manager.App/Components/Layout/ApplicationLayout.razor.cs index e0c5850..7255079 100644 --- a/Manager.App/Components/Layout/ApplicationLayout.razor.cs +++ b/Manager.App/Components/Layout/ApplicationLayout.razor.cs @@ -7,7 +7,7 @@ public partial class ApplicationLayout [CascadingParameter] public BaseLayout? BaseLayout { get; set; } public bool DrawerOpen { get; set; } = true; - public string AppText { get; set; } = "YouTube Import"; + public string AppText { get; set; } = "YouTube Manager"; private void ToggleDrawerOpen() { diff --git a/Manager.App/Components/Pages/Library.razor b/Manager.App/Components/Pages/Library.razor index 1f5e74f..120d9cc 100644 --- a/Manager.App/Components/Pages/Library.razor +++ b/Manager.App/Components/Pages/Library.razor @@ -24,7 +24,7 @@ Library size: - @Suffix.BytesToSizeSuffix(_libraryInformation.TotalSizeBytes) + @($"{Suffix.BytesToSizeSuffix(_libraryInformation.TotalSizeBytes)} ({_libraryInformation.TotalSizeBytes} bytes)") diff --git a/Manager.App/Services/LibraryService.cs b/Manager.App/Services/LibraryService.cs index 90e3aeb..52b4d4f 100644 --- a/Manager.App/Services/LibraryService.cs +++ b/Manager.App/Services/LibraryService.cs @@ -59,7 +59,7 @@ public class LibraryService : ILibraryService { try { - var size = dir.EnumerateFiles("", SearchOption.AllDirectories).Select(f => f.Length).Sum(); + var size = dir.EnumerateFiles("*", SearchOption.AllDirectories).Select(f => f.Length).Sum(); return size; } catch (Exception e)