Skip to content

Commit

Permalink
Added a warning about press becoming public after games finish.
Browse files Browse the repository at this point in the history
  • Loading branch information
zond committed Feb 2, 2017
1 parent 38c3bf8 commit b7460b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/se/oort/diplicity/game/PressActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import android.widget.RelativeLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import android.widget.Toast;

import com.google.gson.Gson;

Expand Down Expand Up @@ -142,6 +143,7 @@ public void send(SingleContainer<Message> messageSingleContainer) {
}

loadMessages(true);
Toast.makeText(this, R.string.all_press_becomes_public, Toast.LENGTH_SHORT).show();
}

private void loadMessages(boolean withProgress) {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,5 @@
<string name="game_id_copied_to_clipboard">Game ID copied to clipboard.</string>
<string name="draw">Draw</string>
<string name="DRAW">DRAW</string>
<string name="all_press_becomes_public">Warning: All press becomes public when the game finishes!</string>
</resources>

0 comments on commit b7460b2

Please sign in to comment.