Skip to content

Commit

Permalink
notify icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyeao committed Apr 15, 2024
1 parent 1d38cdb commit cdbe111
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<TextBlock x:Name="TeamsConnectionStatus" Text="Teams: Disconnected" Margin="10,0,10,0" />
<TextBlock x:Name="MQTTConnectionStatus" Text="MQTT: Disconnected" />
</StackPanel>
<tb:TaskbarIcon x:Name="MyNotifyIcon" TrayMouseDoubleClick="MyNotifyIcon_Click" Visibility="Visible" />
<tb:TaskbarIcon x:Name="MyNotifyIcon" TrayMouseDoubleClick="MyNotifyIcon_Click" ToolTipText="Teasm2HA" Visibility="Visible" />
</Grid>
</DockPanel>
</Window>
3 changes: 2 additions & 1 deletion MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
using TEAMS2HA.API;
using TEAMS2HA.Properties;
using TEAMS2HA.Utils;
using Hardcodet.Wpf.TaskbarNotification;

namespace TEAMS2HA
{
Expand Down Expand Up @@ -259,7 +260,7 @@ public MainWindow()
{
// Get the local application data folder path
var localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);

// Configure logging
LoggingConfig.Configure();

Expand Down
4 changes: 2 additions & 2 deletions TEAMS2HA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<TargetFramework>net7.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<AssemblyVersion>1.1.0.715</AssemblyVersion>
<FileVersion>1.1.0.715</FileVersion>
<AssemblyVersion>1.1.0.719</AssemblyVersion>
<FileVersion>1.1.0.719</FileVersion>
<ApplicationIcon>Assets\Square150x150Logo.scale-200.ico</ApplicationIcon>
<Title>Teams2HA</Title>
<PackageIcon>Square150x150Logo.scale-200.png</PackageIcon>
Expand Down

0 comments on commit cdbe111

Please sign in to comment.