Skip to content

Commit

Permalink
数据源订阅列表增加分割线
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Sep 27, 2024
1 parent 12242b6 commit 9af0970
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ internal fun SettingsScope.MediaSourceSubscriptionGroup(
}
},
) {
for (subscription in state.subscriptions) {
for ((index, subscription) in state.subscriptions.withIndex()) {
Item(
headlineContent = {
SelectionContainer {
Expand Down Expand Up @@ -165,6 +165,9 @@ internal fun SettingsScope.MediaSourceSubscriptionGroup(
}
},
)
if (index != state.subscriptions.lastIndex) {
HorizontalDividerItem()
}
}

if (showAddDialog) {
Expand Down

0 comments on commit 9af0970

Please sign in to comment.