Skip to content

Commit b842e7e

Browse files
hotfix: Update Assembly Info & Change CHECK_INTERVAL for Notifier
1 parent e71bd0a commit b842e7e

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

DigitalWellbeing.Core/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
88
[assembly: AssemblyTitle("DigitalWellbeing.Core")]
9-
[assembly: AssemblyDescription("")]
9+
[assembly: AssemblyDescription("Needed libraries for Digital Wellbeing for Windows")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
1212
[assembly: AssemblyProduct("DigitalWellbeing.Core")]
13-
[assembly: AssemblyCopyright("Copyright © 2022")]
13+
[assembly: AssemblyCopyright("© 2021 Christian Kyle Ching")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

DigitalWellbeingWPF/Helpers/Notifier.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,15 @@ public static class Notifier
2020
public static System.Windows.Forms.NotifyIcon trayIcon;
2121
private static System.Windows.Forms.ContextMenuStrip ctx;
2222
private static int NOTIFICATION_TIMOUT_SECONDS = 10;
23-
private static int CHECK_INTERVAL = 10;
23+
2424
private static TimeSpan warningLimit = TimeSpan.FromMinutes(15);
2525

26+
#if DEBUG
27+
private static int CHECK_INTERVAL = 10;
28+
#else
29+
private static int CHECK_INTERVAL = 60;
30+
#endif
31+
2632
private static EventHandler defaultNotificationHandler;
2733

2834
static Notifier()

DigitalWellbeingWPF/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// General Information about an assembly is controlled through the following
88
// set of attributes. Change these attribute values to modify the information
99
// associated with an assembly.
10-
[assembly: AssemblyTitle("DigitalWellbeing.UI")]
10+
[assembly: AssemblyTitle("Digital Wellbeing For Windows")]
1111
[assembly: AssemblyDescription("An app for monitoring your daily app usage.")]
1212
[assembly: AssemblyConfiguration("")]
1313
[assembly: AssemblyCompany("")]

0 commit comments

Comments
 (0)