[CHANGE] Small changes, renamed app title
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
@@ -24,7 +24,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Library size:</td>
|
||||
<td>@Suffix.BytesToSizeSuffix(_libraryInformation.TotalSizeBytes)</td>
|
||||
<td>@($"{Suffix.BytesToSizeSuffix(_libraryInformation.TotalSizeBytes)} ({_libraryInformation.TotalSizeBytes} bytes)")</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user