DT @12.01.2016: Bugfixes for 1.5.2

This commit is contained in:
Dennis Thießen
2016-01-12 22:39:57 +01:00
parent 906a288f73
commit 0b38922138
6 changed files with 8 additions and 8 deletions

Binary file not shown.

View File

@@ -19,8 +19,8 @@ android {
applicationId "org.deke.risk.riskahead"
minSdkVersion 15
targetSdkVersion 22
versionCode 6
versionName "1.5"
versionCode 8
versionName "1.5.2"
}
buildTypes {
release {

View File

@@ -124,7 +124,7 @@ public class ProfileStatisticsFragment extends Fragment {
}
if(uid != parent.user.get(SessionManager.KEY_UID)){
if(uid != parent.user.get(SessionManager.KEY_UID) ){
lblPoints.setText(jObj.getString("username")+" "+getResources().getString(R.string.lbl_profile_points_someone));
lblPosts.setText(getResources().getString(R.string.lbl_profile_numofposts_me));
lblRanking.setText(getResources().getString(R.string.lbl_profile_ranking_someone));

View File

@@ -25,8 +25,8 @@ public class ReportWF_5_Fragment extends Fragment {
private final static int SINGLE_PERSON = 1;
private final static int SMALL_GROUP = 2;
private final static int BIG_GROUP = 3;
private final static int ETC = 4;
private final static int DONTKNOW = 5;
private final static int ETC = 5;
private final static int DONTKNOW = 4;
private View viewFragment;

View File

@@ -25,8 +25,8 @@ public class ReportWF_7_Fragment extends Fragment {
private final static int LOCAL = 1;
private final static int TOURIST = 2;
private final static int FOREIGNER = 3;
private final static int ETC = 4;
private final static int DONTKNOW = 5;
private final static int ETC = 5;
private final static int DONTKNOW = 4;
private View viewFragment;

View File

@@ -410,7 +410,7 @@ public class IncidentReport implements ClusterItem {
}
if(this.fidSuspectCategory == 4 || this.fidSuspectCategory == 5 || this.fidSuspectCategory == 6) {
returnValue += " ("+context.getResources().getStringArray(R.array.cat_suspect_sub_location)[this.fidSuspectSubCategory]+")";
returnValue += " ("+context.getResources().getStringArray(R.array.cat_suspect_sub_location)[this.fidSuspectSubCategory-1]+")";
}
return returnValue;