Skip to content

Commit

Permalink
Remove console.log, reduce arbitrary time to 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Dec 22, 2023
1 parent d0d9f43 commit d85963e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/qfieldcloudprojectsmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ void QFieldCloudProjectsModel::projectRefreshData( const QString &projectId, con
// value to be an hour from now. This is to avoid subsequently telling users
// they have an outdated project when the only thing that changed is the delta(s)
// they pushed.
project->lastLocalUpdatedAt = project->lastRefreshedAt.addSecs( 60 * 60 );
project->lastLocalUpdatedAt = project->lastRefreshedAt.addSecs( 60 * 30 );
QFieldCloudUtils::setProjectSetting( project->id, QStringLiteral( "lastLocalUpdatedAt" ), project->lastLocalUpdatedAt );
}
else
Expand Down
2 changes: 0 additions & 2 deletions src/qml/qgismobileapp.qml
Original file line number Diff line number Diff line change
Expand Up @@ -3352,8 +3352,6 @@ ApplicationWindow {

settings.setValue( "/QField/FirstRunFlag", false )

console.log(cloudProjectsModel.currentProjectData.Name)
console.log(cloudProjectsModel.currentProjectData.Outdated)
if (cloudProjectsModel.currentProjectData.Outdated) {
displayToast(qsTr('This project has updated data on the cloud, you should synchronize.'))
}
Expand Down

0 comments on commit d85963e

Please sign in to comment.