[android] Changed the way to get rank of editor.

This commit is contained in:
Dmitry Yunitsky 2016-03-31 16:22:48 +03:00
parent 4b1489c4de
commit 59d42070d4

View file

@ -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);
}
}