mirror of
https://github.com/tateisu/SubwayTooter
synced 2025-01-28 17:49:27 +01:00
fix quote button not shown correctly in some case
This commit is contained in:
parent
78adefa9bf
commit
c3538352ef
@ -193,11 +193,8 @@ internal class StatusButtons(
|
||||
}
|
||||
|
||||
val ti = TootInstance.getCached(access_info.apiHost.ascii)
|
||||
|
||||
when {
|
||||
ti?.feature_quote != true -> btnQuote.vg(false)
|
||||
|
||||
else -> setButton(
|
||||
btnQuote.vg(ti?.feature_quote == true)?.let{
|
||||
setButton(
|
||||
btnQuote,
|
||||
true,
|
||||
color_normal,
|
||||
@ -205,7 +202,7 @@ internal class StatusButtons(
|
||||
activity.getString(R.string.quote)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
// お気に入りボタン
|
||||
val fav_icon_drawable = when {
|
||||
access_info.isNicoru(status.account) -> R.drawable.ic_nicoru
|
||||
|
Loading…
x
Reference in New Issue
Block a user