[CHANGE] Small changes, renamed app title
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
@@ -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>
|
||||||
|
@@ -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)
|
||||||
|
Reference in New Issue
Block a user