Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cloud 4.9 #4289

Merged
merged 8 commits into from
Jan 14, 2025
Merged

Fix cloud 4.9 #4289

merged 8 commits into from
Jan 14, 2025

Conversation

vshcherb
Copy link
Member

No description provided.

@vshcherb vshcherb changed the base branch from master to r4.9 January 14, 2025 12:16
@Skalii Skalii linked an issue Jan 14, 2025 that may be closed by this pull request
4 tasks
@vshcherb vshcherb merged commit 009eb36 into r4.9 Jan 14, 2025
@vshcherb vshcherb deleted the fix_cloud_4.9 branch January 14, 2025 13:15
@@ -45,12 +45,12 @@ - (void) initialization

- (long)localModifiedTime
{
return _specificRoads.getLastModifiedTime;
return [_specificRoads getLastModifiedTime] * 1000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not clear - why _specificRoads lastModifiedTime not changed to milliseconds instead

@@ -64,12 +64,12 @@ - (BOOL)exists

- (long)localModifiedTime
{
return [OAAppSettings.sharedManager getLastGloblalSettingsModifiedTime];
return [OAAppSettings.sharedManager getLastGloblalSettingsModifiedTime] * 1000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why lastGloblalSettingsModifiedTime not millis?

@@ -75,12 +75,12 @@ - (NSString *)getPublicName

- (long)localModifiedTime
{
return [_destinationsHelper getMarkersLastModifiedTime];
return [_destinationsHelper getMarkersLastModifiedTime] * 1000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

markersLastModifiedTime >> millis?

@@ -84,12 +84,12 @@ - (void)remove

- (long)localModifiedTime
{
return [OAAppSettings.sharedManager getLastProfileSettingsModifiedTime:_appMode];
return [OAAppSettings.sharedManager getLastProfileSettingsModifiedTime:_appMode] * 1000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lastProfileSettingsModifiedTime >> millis?

@@ -67,12 +67,12 @@ - (void)renameButton

- (long)localModifiedTime
{
return [_buttonState getLastModifiedTime];
return [_buttonState getLastModifiedTime] * 1000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lastModifiedTime >> millis?

@@ -108,7 +108,7 @@ - (long)lastModifiedTime

- (void)setLastModifiedTime:(long)lastModifiedTime
{
_lastModifiedTime = lastModifiedTime;
_lastModifiedTime = lastModifiedTime / 1000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why lastModifiedTime not millis?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iOS Cloud sync doesn't restore tracks, favorites correctly
3 participants