Skip to content

Commit

Permalink
Unnecessary check - the auto send timer is already being reset to zer…
Browse files Browse the repository at this point in the history
…o if necessary
  • Loading branch information
mendhak committed Mar 23, 2024
1 parent db8ded3 commit 66b2757
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ private void autoSendLogFile(@Nullable String formattedFileName) {

private void resetAutoSendTimersIfNecessary() {

if (session.getAutoSendDelay() != preferenceHelper.getAutoSendInterval() && preferenceHelper.getAutoSendInterval() > 0) {
if (session.getAutoSendDelay() != preferenceHelper.getAutoSendInterval()) {
session.setAutoSendDelay(preferenceHelper.getAutoSendInterval());
setupAutoSendTimers();
}
Expand Down

0 comments on commit 66b2757

Please sign in to comment.