Skip to content

Commit

Permalink
bugfix: couldn't add note for first team in list
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-lopreiato committed Mar 15, 2014
1 parent ed80a71 commit c4b8bbd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frc-notebook/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 19
versionCode 9
versionName "2.3"
versionCode 10
versionName "2.3.1"
}
signingConfigs {
release {
Expand Down
4 changes: 2 additions & 2 deletions frc-notebook/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/theme_light"
android:versionCode="9"
android:versionName="2.3" >
android:versionCode="10"
android:versionName="2.3.1" >
<activity
android:name="com.plnyyanks.frcnotebook.activities.StartActivity"
android:label="@string/title_activity_start" >
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void onClick(DialogInterface dialog, int id) {
newNote.setMatchKey(match.getMatchKey());
newNote.setEventKey(match.getParentEvent().getEventKey());

if(s.getSelectedItemPosition()==0){
if(s.getSelectedItem().equals(activity.getResources().getString(R.string.all_teams))){
//add note for all teams
newNote.setTeamKey("all");
//TODO implement this
Expand Down

0 comments on commit c4b8bbd

Please sign in to comment.