revered sharing tab UI disabling to wait for api response, minor fix
This commit is contained in:
parent
2d93b23197
commit
3e7e77a430
@ -216,16 +216,8 @@ public class SharingFragment extends PreferenceFragment implements SharedPrefere
|
||||
locationMode.setOnPreferenceChangeListener((preference, newValue) -> {
|
||||
PrefUtils.storeLocationMode(getApplicationContext(), locationLevelMapping.get(Integer.parseInt((String) newValue)));
|
||||
|
||||
// if(PrefUtils.getLocationLevel(getApplicationContext()).equals(SharingLevel.MANUAL.toString()) && predefinedCoordsList.isEmpty()){
|
||||
/* Log.d("OTSOCHOZI","pyklo");
|
||||
}else{
|
||||
Log.d("OTSOCHOZI","niepyklo");*/
|
||||
|
||||
((MapActivity) getActivity()).stopBackgroundLocalizationTask();
|
||||
((MapActivity) getActivity()).startBackgroundLocalizationTask();
|
||||
// }
|
||||
|
||||
|
||||
if (PrefUtils.getLocationLevel(getApplicationContext()).equals(SharingLevel.MANUAL.toString())) {
|
||||
if (!predefinedCoordsList.isEmpty()) {
|
||||
preferenceCategory.addPreference(manualLocationList);
|
||||
|
Loading…
Reference in New Issue
Block a user