Skip to content

Commit 6f39208

Browse files
committed
Merge remote-tracking branch 'origin/master' into ios/20250710
2 parents 55d0cb9 + e55efbb commit 6f39208

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ kotlinx-datetime = "0.7.1-0.6.x-compat"
2222
kotlinx-collections-immutable = "0.4.0"
2323
kotlinx-serialization = "1.9.0"
2424
coil3 = "3.3.0"
25-
ktorfit = "2.6.1"
25+
ktorfit = "2.6.3"
2626
ktor = "3.2.2"
2727
reorderable = "2.5.1"
2828
stately = "2.1.0"
@@ -46,7 +46,7 @@ desugar_jdk_libs = "2.1.5"
4646
firebase-bom = "34.0.0"
4747
google-services = "4.4.3"
4848
firebase-crashlytics = "3.0.5"
49-
materialKolor = "3.0.0"
49+
materialKolor = "3.0.1"
5050
room = "2.7.2"
5151
sqlite = "2.5.2"
5252
compose-multiplatform = "1.8.2"

settings.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ pluginManagement {
33
google()
44
mavenCentral()
55
gradlePluginPortal()
6-
maven("https://oss.sonatype.org/content/repositories/snapshots/")
76
}
87
}
98
dependencyResolutionManagement {
@@ -12,8 +11,7 @@ dependencyResolutionManagement {
1211
google()
1312
mavenCentral()
1413
maven("https://jitpack.io")
15-
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
16-
maven("https://oss.sonatype.org/content/repositories/snapshots/")
14+
maven("https://central.sonatype.com/repository/maven-snapshots/")
1715
maven("https://androidx.dev/snapshots/builds/13617490/artifacts/repository")
1816
}
1917
}

shared/src/commonMain/kotlin/dev/dimension/flare/data/network/misskey/api/model/Antenna.kt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,17 @@ internal data class Antenna(
2626
@SerialName(value = "id") val id: kotlin.String,
2727
@SerialName(value = "createdAt") val createdAt: kotlin.String,
2828
@SerialName(value = "name") val name: kotlin.String,
29-
@SerialName(value = "keywords") val keywords: kotlin.collections.List<kotlin.collections.List<kotlin.String>>,
30-
@SerialName(value = "excludeKeywords") val excludeKeywords: kotlin.collections.List<kotlin.collections.List<kotlin.String>>,
31-
@SerialName(value = "src") val src: Antenna.Src,
29+
@SerialName(value = "keywords") val keywords: kotlin.collections.List<kotlin.collections.List<kotlin.String>> = emptyList(),
30+
@SerialName(value = "excludeKeywords") val excludeKeywords: kotlin.collections.List<kotlin.collections.List<kotlin.String>> =
31+
emptyList(),
32+
// @SerialName(value = "src") val src: Antenna.Src,
3233
@SerialName(value = "userListId") val userListId: kotlin.String? = null,
33-
@SerialName(value = "users") val users: kotlin.collections.List<kotlin.String>,
34+
@SerialName(value = "users") val users: kotlin.collections.List<kotlin.String> = emptyList(),
3435
@SerialName(value = "caseSensitive") val caseSensitive: kotlin.Boolean = false,
35-
@SerialName(value = "notify") val notify: kotlin.Boolean,
36+
@SerialName(value = "notify") val notify: kotlin.Boolean = false,
3637
@SerialName(value = "withReplies") val withReplies: kotlin.Boolean = false,
37-
@SerialName(value = "withFile") val withFile: kotlin.Boolean,
38-
@SerialName(value = "isActive") val isActive: kotlin.Boolean,
38+
@SerialName(value = "withFile") val withFile: kotlin.Boolean = false,
39+
@SerialName(value = "isActive") val isActive: kotlin.Boolean = false,
3940
@SerialName(value = "hasUnreadNote") val hasUnreadNote: kotlin.Boolean = false,
4041
) {
4142
/**

shared/src/commonMain/kotlin/dev/dimension/flare/ui/model/mapper/XQT.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ internal fun TopLevel.renderNotifications(
108108
else -> UiTimeline.TopMessage.Icon.Info
109109
}
110110
val tweet =
111-
notificationTweet?.lastOrNull()?.let {
111+
notificationTweet?.firstOrNull()?.let {
112112
Tweet(
113113
restId = it.idStr,
114114
core =

0 commit comments

Comments
 (0)