1
0
의 미러 https://github.com/KokaKiwi/BarInsta synced 2025-07-13 06:42:01 +00:00
BarInsta/app/src/main/java/awais/instagrabber/repositories/responses/Hashtag.kt
Austin Huang 94a5fdc6fe
hashtag and location fixes
1. convert api to kotlin
2. fix follow button for hashtags
2021-07-24 19:29:59 -04:00

14 lines
399 B
Kotlin
Executable File

package awais.instagrabber.repositories.responses
import java.io.Serializable
data class Hashtag(
val id: String,
val name: String,
val mediaCount: Long,
val following: Int?, // 0 false 1 true; not on search results
val searchResultSubtitle: String? // shows how many posts there are on search results
) : Serializable {
val follow: Boolean
get() = following == 1
}