Skip to content

Commit 57d83f8

Browse files
author
mendhak
committed
Autosend delay fix
1 parent cf29e4b commit 57d83f8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

gpslogger/src/main/java/com/mendhak/gpslogger/common/AppSettings.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -244,27 +244,15 @@ static void setNewFileCreation(String newFileCreation) {
244244
* @return the autoSendDelay
245245
*/
246246
public static Float getAutoSendDelay() {
247-
if (autoSendDelay >= 8f) {
248-
return 8f;
249-
} else {
250247
return autoSendDelay;
251-
}
252-
253-
254248
}
255249

256250
/**
257251
* @param autoSendDelay the autoSendDelay to set
258252
*/
259253
static void setAutoSendDelay(Float autoSendDelay) {
260254

261-
if (autoSendDelay >= 8f) {
262-
AppSettings.autoSendDelay = 8f;
263-
} else {
264255
AppSettings.autoSendDelay = autoSendDelay;
265-
}
266-
267-
268256
}
269257

270258
/**

0 commit comments

Comments
 (0)