Skip to content

Commit 93adc80

Browse files
committed
Fix Build Issue again
1 parent 3ca15b5 commit 93adc80

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ android {
1616
applicationId = "de.dertyp7214.rboardpatcher"
1717
minSdk = 23
1818
targetSdk = 36
19-
versionCode = 3404
19+
versionCode = 3405
2020
versionName = "3.4"
2121

2222
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

app/src/main/java/de/dertyp7214/rboardpatcher/screens/PatchActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ import kotlin.collections.set
6666
import kotlin.math.roundToInt
6767

6868
@SuppressLint("NotifyDataSetChanged", "SetTextI18n")
69+
@SuppressWarnings("InvalidSetHasFixedSize")
6970
class PatchActivity : BaseActivity() {
7071

7172
private val mutableLiveBitmap = MutableLiveData<Bitmap?>()
@@ -93,7 +94,7 @@ class PatchActivity : BaseActivity() {
9394
private val shareTheme by lazy { findViewById<MaterialButton>(R.id.shareButton) }
9495
private val searchBar by lazy { findViewById<SearchBar>(R.id.searchBar) }
9596
private val chipContainer by lazy { findViewById<ChipContainer>(R.id.chipContainer) }
96-
private val recyclerView by lazy { findViewById<RecyclerView>(R.id.recyclerview) }
97+
private val recyclerView by lazy { findViewById<RecyclerView>(R.id.recyclerview2) }
9798
private val adapter by lazy {
9899
PatchAdapter(this, list, unfiltered, { patchMeta ->
99100
openDialog(R.layout.patch_info_popup, true) { dialog ->

app/src/main/res/layout/activity_main.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
android:layout_width="0dp"
3838
android:layout_height="wrap_content"
3939
android:layout_marginStart="16dp"
40-
android:layout_marginTop="24dp"
40+
android:layout_marginTop="48dp"
4141
android:layout_marginEnd="16dp"
42-
android:layout_marginBottom="24dp"
42+
android:layout_marginBottom="48dp"
4343
android:orientation="vertical"
4444
app:layout_constraintBottom_toTopOf="@+id/cardView2"
4545
app:layout_constraintEnd_toEndOf="parent"
@@ -165,7 +165,7 @@
165165
android:id="@+id/cardView2"
166166
android:layout_width="0dp"
167167
android:layout_height="wrap_content"
168-
android:layout_marginStart="16dp"
168+
android:layout_marginStart="32dp"
169169
android:layout_marginEnd="16dp"
170170
android:layout_marginBottom="32dp"
171171
android:translationZ="0dp"
@@ -178,7 +178,7 @@
178178
app:strokeWidth="0dp">
179179

180180
<androidx.recyclerview.widget.RecyclerView
181-
android:id="@+id/recyclerview"
181+
android:id="@+id/recyclerview2"
182182
android:layout_width="match_parent"
183183
android:layout_height="wrap_content"
184184
android:background="@drawable/round_outline"

0 commit comments

Comments
 (0)