(Misskey)投稿がお気に入り済みならボタンを青色で表示する

This commit is contained in:
tateisu 2018-10-13 08:06:49 +09:00
parent 906be16138
commit a886bc4816
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

View File

@ -211,7 +211,7 @@ class TootStatus(parser : TootParser, src : JSONObject) : TimelineItem() {
this.replies_count = src.parseLong("repliesCount") ?: 0L
this.reblogged = false
this.favourited = false
this.favourited = src.optBoolean("isFavorited")
this.visibility = TootVisibility.parseMisskey(src.parseString("visibility")) ?:
TootVisibility.Public