* represents.
*/
public static final String ARG_ITEM_ID = "item_id";
+ public static final String ARG_HUE = "hue";
@NonNls
private static final String HTTPS_URL_START = "https://";
hookClearErrorOnFocusListener(userName, userNameLayout);
hookClearErrorOnFocusListener(password, passwordLayout);
- int profileThemeId;
+ final int profileThemeId;
if (mProfile != null) {
profileName.setText(mProfile.getName());
postingPermitted.setChecked(mProfile.isPostingPermitted());
userName.setText("");
password.setText("");
preferredAccountsFilter.setText(null);
- profileThemeId = -1;
+ profileThemeId = getArguments().getInt(ARG_HUE, -1);
}
checkInsecureSchemeWithAuth();