Merge branch 'fix-sharing-active-id' of s416084/find-my-tutor-android into develop

This commit is contained in:
Mieszko Wrzeszczyński 2018-12-05 13:18:56 +00:00 committed by Gogs
commit e095e9069f
3 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ android {
applicationId "com.uam.wmi.findmytutor"
minSdkVersion 22
targetSdkVersion 27
versionCode 12
versionCode 13
versionName "0.9.1-alpha"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true

Binary file not shown.

View File

@ -232,7 +232,7 @@ public class SharingFragment extends PreferenceFragment {
lp.setDefaultValue(0);
lp.setEntryValues(entryValues);
if(entries.length > 0)
if(entries.length > 0 && activeId != null)
lp.setValueIndex(activeId);
};