Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
Better message for failed talk starring on talk detail.
Browse files Browse the repository at this point in the history
  • Loading branch information
richsage committed Jun 15, 2016
1 parent 0ba62fb commit 50587b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion source/res/values/strings.xml
Expand Up @@ -131,7 +131,6 @@

<string name="generalSuccessStarred">Successfully starred</string>
<string name="generalSuccessUnstarred">Successfully unstarred</string>
<string name="generalStarringError">Starring error: %s</string>
<string name="generalCouldntUpdateStarredStatus">Couldn't update talk starred status</string>

<string name="generalAboutTitle">About…</string>
Expand Down
2 changes: 1 addition & 1 deletion source/src/in/joind/TalkDetail.java
Expand Up @@ -273,7 +273,7 @@ private String doStarTalk(boolean initialState) {
initialState ? JIRest.METHOD_POST : JIRest.METHOD_DELETE);

if (error != JIRest.OK) {
return String.format(getString(R.string.generalStarringError), rest.getError());
return getString(R.string.generalCouldntUpdateStarredStatus);
}

// Everything went as expected
Expand Down

0 comments on commit 50587b1

Please sign in to comment.