Skip to content

Commit

Permalink
start leader screen fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Plotnikov Timofey committed May 31, 2016
1 parent 91311f2 commit 99d056b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion android/src/com/sml/utils/LeaderScreen.java
Expand Up @@ -25,7 +25,10 @@ private LeaderScreen() {}
@Override
public void showLeaderScreen(int score) {
if (context != null) {
context.startActivity(new Intent(context, LeaderActivity.class).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP));
Intent intent = new Intent(context, LeaderActivity.class);
intent.putExtra("score", score);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
context.startActivity(intent);
}
}
}

0 comments on commit 99d056b

Please sign in to comment.