Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ugc
diff options
context:
space:
mode:
authorАлександр Зацепин <az@mapswithme.com>2017-06-21 15:36:58 +0300
committerYuri Gorshenin <mipt.vi002@gmail.com>2017-07-05 16:41:38 +0300
commit2ed20867e578148a7a0dd93656265da87b8ed3fd (patch)
tree877dfd288df5364d232665a0d03627d3c334c719 /ugc
parentf6c4fc30fa1a5a3237a486a6f156c131e11b6eb5 (diff)
[android] Added showing core ugc review in PP
Diffstat (limited to 'ugc')
-rw-r--r--ugc/api.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ugc/api.cpp b/ugc/api.cpp
index a729ccad41..543338dd77 100644
--- a/ugc/api.cpp
+++ b/ugc/api.cpp
@@ -86,11 +86,11 @@ void Api::GetUGCImpl(FeatureID const & id, UGCCallback callback)
UGC ugc(Rating({}, {}), {}, {});
auto const r = id.m_index % 3;
- if (r == 1)
- ugc = MakeTestUGC1();
- else if (r == 2)
- ugc = MakeTestUGC2();
-
+// if (r == 1)
+ ugc = MakeTestUGC1();
+// else
+// ugc = MakeTestUGC2();
+
GetPlatform().RunOnGuiThread([ugc, callback] { callback(ugc); });
}