@@ -10,9 +10,6 @@ namespace DesktopClock;
/// </summary>
public partial class App : Application
{
- public static Assembly Assembly { get; } = Assembly.GetExecutingAssembly();
- public static string Title { get; } = Assembly.GetCustomAttribute<AssemblyTitleAttribute>().Title;
-
// https://www.materialui.co/colors
public static IReadOnlyList<Theme> Themes { get; } = new Theme[]
@@ -7,7 +7,7 @@
xmlns:p="clr-namespace:DesktopClock.Properties"
xmlns:wp="clr-namespace:WpfWindowPlacement;assembly=WpfWindowPlacement"
mc:Ignorable="d"
- Title="{x:Static local:App.Title}"
+ Title="DesktopClock"
AllowsTransparency="True"
Background="Transparent"
FontFamily="{Binding FontFamily, Source={x:Static p:Settings.Default}, Mode=OneWay}"