Skip to content

Commit

Permalink
fix: can't add channel to group if more than ~10 groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed Jun 21, 2024
1 parent 3b0ef23 commit 2b31a54
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ dependencies {
implementation(libs.kotlinx.serialization)
implementation(libs.kotlinx.datetime)
implementation(libs.kotlinx.serialization.retrofit)
testImplementation(libs.testng)

/* Cronet and Coil */
coreLibraryDesugaring(libs.desugaring)
Expand All @@ -144,4 +143,7 @@ dependencies {

/* AndroidX Paging */
implementation(libs.androidx.paging)

/* Testing */
testImplementation(libs.testng)
}
3 changes: 2 additions & 1 deletion app/src/main/res/layout/add_channel_to_group_row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="12dp">
android:paddingHorizontal="12dp"
android:paddingVertical="3dp">

<CheckBox
android:id="@+id/group_checkbox"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/groupsRV"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="0dp"
android:layout_weight="1" />

<LinearLayout
android:layout_width="wrap_content"
Expand All @@ -57,6 +58,7 @@

<com.google.android.material.button.MaterialButton
android:id="@+id/cancel"
style="@style/Widget.Material3.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/cancel" />
Expand Down

0 comments on commit 2b31a54

Please sign in to comment.