[CHANGE] Small changes, renamed app title
This commit is contained in:
parent
d501015b82
commit
2f018d131e
3 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue