1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 10:05:49 +01:00

Bangle.js:actTrk:rm newline on latest fetch string

This commit is contained in:
Ganblejs 2024-03-05 23:16:49 +01:00 committed by José Rebelo
parent 6ce8f336b4
commit a077e867b4

View File

@ -109,7 +109,7 @@ class BangleJSActivityTrack extends BangleJSDeviceSupport {
File inputFile = new File(dir, filename);
String lastSyncedID = "";
try {
lastSyncedID = FileUtils.getStringFromFile(inputFile);
lastSyncedID = FileUtils.getStringFromFile(inputFile).replace("\n","");
} catch (IOException ignored) {
}
//lastSyncedID = "20230706x"; // DEBUGGING