Merge branch 'minorUiFixes' of s416084/find-my-tutor-android into develop
This commit is contained in:
commit
6fb4b655d8
@ -138,6 +138,7 @@ public abstract class BaseActivity
|
||||
|
||||
if (!isTutor) {
|
||||
navigationView.findViewById(R.id.nav_profile).setVisibility(View.GONE);
|
||||
drawerNavigationView.getMenu().setGroupVisible(R.id.drawer_group_tutor, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,6 +45,8 @@ public class SharingFragment extends PreferenceFragment {
|
||||
locationLevelMapping.put(0, SharingLevel.PRESENCE.toString());
|
||||
locationLevelMapping.put(1, SharingLevel.APPROXIMATED.toString());
|
||||
locationLevelMapping.put(2, SharingLevel.EXACT.toString());
|
||||
locationLevelMapping.put(3, SharingLevel.MANUAL.toString());
|
||||
|
||||
|
||||
addPreferencesFromResource(R.layout.pref_sharing);
|
||||
Preference manualStatus = findPreference("key_manual_status");
|
||||
|
@ -3,7 +3,8 @@ package com.uam.wmi.findmytutor.utils;
|
||||
public enum SharingLevel {
|
||||
PRESENCE("presence"),
|
||||
APPROXIMATED("approximated"),
|
||||
EXACT("exact");
|
||||
EXACT("exact"),
|
||||
MANUAL("manuak");
|
||||
|
||||
private final String text;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user