userName.setText(mProfile.isAuthEnabled() ? mProfile.getAuthUserName() : "");
password.setText(mProfile.isAuthEnabled() ? mProfile.getAuthPassword() : "");
preferredAccountsFilter.setText(mProfile.getPreferredAccountsFilter());
- profileThemeId = mProfile.getThemeId();
+ profileThemeId = mProfile.getThemeHue();
}
else {
profileName.setText("");
if (mProfile != null) {
updateProfileFromUI();
-// debug("profiles", String.format("Selected item is %d", mProfile.getThemeId()));
+// debug("profiles", String.format("Selected item is %d", mProfile.getThemeHue()));
mProfile.storeInDB();
debug("profiles", "profile stored in DB");
triggerProfileChange();
mProfile.setAuthEnabled(useAuthentication.isChecked());
mProfile.setAuthUserName(userName.getText());
mProfile.setAuthPassword(password.getText());
- mProfile.setThemeId(huePickerView.getTag());
+ mProfile.setThemeHue(huePickerView.getTag());
mProfile.setFutureDates(futureDates);
mProfile.setApiVersion(apiVersion);
}