Skip to content

Commit 3da87dc

Browse files
committed
Release 2.2.97
1 parent 458e204 commit 3da87dc

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

Waitingway/Api/Duty/DutyNotificationTracker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ Task CreateNotificationFnf(byte waitTime)
111111
return Task.CompletedTask;
112112
var allowNotification = waitTime switch
113113
{
114-
0 => Service.Configuration.DutyNotificationThreshold <= 30,
114+
0 => Service.Configuration.DutyNotificationThresholdMinutes <= 30,
115115
255 => Service.Configuration.DutyNotificationAllowHidden,
116-
_ => Service.Configuration.DutyNotificationThreshold <= waitTime,
116+
_ => Service.Configuration.DutyNotificationThresholdMinutes <= waitTime,
117117
};
118118
if (!allowNotification)
119119
return Task.CompletedTask;

Waitingway/Configuration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public Uri ServerUri
5757
public bool DutyNotificationEnabled { get; set; } = true;
5858
public bool DutyNotificationRequireConfirmation { get; set; } = true;
5959
public bool DutyNotificationAllowHidden { get; set; }
60-
public int DutyNotificationThreshold { get; set; } = 10;
60+
public int DutyNotificationThresholdMinutes { get; set; } = 10;
6161

6262
public void AddFailedRecap(Recap recap)
6363
{

Waitingway/Waitingway.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<Authors>Asriel Camora</Authors>
5-
<Version>2.2.95</Version>
5+
<Version>2.2.97</Version>
66
<PackageProjectUrl>https://github.com/WorkingRobot/Waitingway</PackageProjectUrl>
77
<Configurations>Debug;Release</Configurations>
88
<AssemblyName>Waitingway.Dalamud</AssemblyName>

Waitingway/Windows/Settings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,9 @@ ref isDirty
397397
"Only queue that are estimated to be at least this many minutes will " +
398398
"trigger a notification. Keep in mind that the server also has its own " +
399399
"threshold, so setting this below a certain point won't have any effect.",
400-
Config.DutyNotificationThreshold,
400+
Config.DutyNotificationThresholdMinutes,
401401
0, 30,
402-
v => Config.DutyNotificationThreshold = v,
402+
v => Config.DutyNotificationThresholdMinutes = v,
403403
ref isDirty
404404
);
405405

0 commit comments

Comments
 (0)