mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Use IsClientIdle in CanUpdateOrNag
This commit is contained in:
parent
e6df536ceb
commit
08a3998854
1 changed files with 2 additions and 6 deletions
|
|
@ -491,14 +491,10 @@ internal class AutoUpdateManager : IServiceType
|
|||
|
||||
private bool CanUpdateOrNag()
|
||||
{
|
||||
var condition = Service<Condition>.Get();
|
||||
var clientState = Service<ClientState>.Get();
|
||||
return this.IsPluginManagerReady() &&
|
||||
!this.dalamudInterface.IsPluginInstallerOpen &&
|
||||
condition.OnlyAny(ConditionFlag.NormalConditions,
|
||||
ConditionFlag.Jumping,
|
||||
ConditionFlag.Mounted,
|
||||
ConditionFlag.UsingFashionAccessory,
|
||||
ConditionFlag.OnFreeTrial);
|
||||
clientState.IsClientIdle();
|
||||
}
|
||||
|
||||
private bool IsPluginManagerReady()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue