Update username UX and UI.

This commit is contained in:
Alex Hart
2020-08-27 10:49:45 -03:00
committed by Alan Evans
parent b1befbeefc
commit 1425b651d4
31 changed files with 311 additions and 180 deletions

View File

@@ -79,6 +79,7 @@ public final class FeatureFlags {
GROUPS_V2_LINKS_VERSION,
CDS,
INTERNAL_USER,
USERNAMES,
MENTIONS,
VERIFY_V2
);

View File

@@ -694,14 +694,6 @@ public class TextSecurePreferences {
setStringPreference(context, LOCAL_UUID_PREF, uuid.toString());
}
public static String getLocalUsername(Context context) {
return getStringPreference(context, LOCAL_USERNAME_PREF, null);
}
public static void setLocalUsername(Context context, String username) {
setStringPreference(context, LOCAL_USERNAME_PREF, username);
}
public static String getPushServerPassword(Context context) {
return getStringPreference(context, GCM_PASSWORD_PREF, null);
}