[CHANGE] Small changes, renamed app title

This commit is contained in:
max
2025-08-31 21:08:14 +02:00
parent d501015b82
commit 2f018d131e
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ public partial class ApplicationLayout
[CascadingParameter] [CascadingParameter]
public BaseLayout? BaseLayout { get; set; } public BaseLayout? BaseLayout { get; set; }
public bool DrawerOpen { get; set; } = true; public bool DrawerOpen { get; set; } = true;
public string AppText { get; set; } = "YouTube Import"; public string AppText { get; set; } = "YouTube Manager";
private void ToggleDrawerOpen() private void ToggleDrawerOpen()
{ {

View File

@@ -24,7 +24,7 @@
</tr> </tr>
<tr> <tr>
<td>Library size:</td> <td>Library size:</td>
<td>@Suffix.BytesToSizeSuffix(_libraryInformation.TotalSizeBytes)</td> <td>@($"{Suffix.BytesToSizeSuffix(_libraryInformation.TotalSizeBytes)} ({_libraryInformation.TotalSizeBytes} bytes)")</td>
</tr> </tr>
<tr> <tr>

View File

@@ -59,7 +59,7 @@ public class LibraryService : ILibraryService
{ {
try 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; return size;
} }
catch (Exception e) catch (Exception e)