diff --git a/app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/NetworkTimelineViewModel.kt b/app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/NetworkTimelineViewModel.kt index 8c8af7b6..5ec1dc10 100644 --- a/app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/NetworkTimelineViewModel.kt +++ b/app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/NetworkTimelineViewModel.kt @@ -336,7 +336,7 @@ class NetworkTimelineViewModel @Inject constructor( Kind.BOOKMARKS -> api.bookmarks(fromId, uptoId, limit) Kind.LIST -> api.listTimeline(id!!, fromId, uptoId, limit) Kind.PUBLIC_TRENDING_STATUSES -> api.trendingStatuses(limit = limit, offset = fromId) - Kind.AUTOGESTIONE -> api.autogestione(remote = false, only_media = false,maxId = fromId, sinceId = uptoId, limit = limit) + Kind.AUTOGESTIONE -> api.neighborhood(remote = false, only_media = false,maxId = fromId, sinceId = uptoId, limit = limit) } } diff --git a/app/src/main/java/com/keylesspalace/tusky/network/MastodonApi.kt b/app/src/main/java/com/keylesspalace/tusky/network/MastodonApi.kt index b6a2405f..3fec2d67 100644 --- a/app/src/main/java/com/keylesspalace/tusky/network/MastodonApi.kt +++ b/app/src/main/java/com/keylesspalace/tusky/network/MastodonApi.kt @@ -721,8 +721,8 @@ interface MastodonApi { @Field("lang") targetLanguage: String? ): NetworkResult - @GET("/api/v1/timelines/autogestione?remote=false&only_media=false") - suspend fun autogestione( + @GET("/api/v1/timelines/neighborhood?remote=false&only_media=false") + suspend fun neighborhood( @Query("remote") remote: Boolean? = false, @Query("only_media") only_media: Boolean? = false, @Query("local") local: Boolean? = null, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 6d41c014..2ff3a6d7 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "8.1.2" +agp = "8.4.0" androidx-activity = "1.7.2" androidx-appcompat = "1.6.1" androidx-browser = "1.8.0"