fixed update profile
This commit is contained in:
parent
5e3e49f8f0
commit
2b6762f868
|
@ -21,6 +21,8 @@ package org.mariotaku.twidere.api.twitter.model;
|
|||
|
||||
import org.mariotaku.restfu.http.SimpleValueMap;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* Created by mariotaku on 15/1/6.
|
||||
*/
|
||||
|
@ -43,7 +45,7 @@ public class ProfileUpdate extends SimpleValueMap {
|
|||
}
|
||||
|
||||
public void setLinkColor(int profileLinkColor) {
|
||||
put("profile_link_color", profileLinkColor);
|
||||
put("profile_link_color", String.format(Locale.ROOT, "%06X", 0xFFFFFF & profileLinkColor));
|
||||
}
|
||||
|
||||
public ProfileUpdate name(String name) {
|
||||
|
|
Loading…
Reference in New Issue