forked from organicmaps/organicmaps
[android] Changed the way to get rank of editor.
This commit is contained in:
parent
4b1489c4de
commit
59d42070d4
1 changed files with 2 additions and 2 deletions
|
@ -92,9 +92,9 @@ public class ViralFragment extends BaseMwmDialogFragment
|
|||
}
|
||||
}
|
||||
|
||||
// Counts fake editor rank based on number of total edits made by user.
|
||||
// Counts fake rank in the rating of editors.
|
||||
private int getUserEditorRank()
|
||||
{
|
||||
return (int) ((1000 + new Random().nextInt(1000)) / Editor.nativeGetStats()[0] / 10);
|
||||
return 1000 + new Random().nextInt(1000);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue