]> git.ktnx.net Git - mobile-ledger.git/commitdiff
typo in view id
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 31 Jan 2021 16:31:43 +0000 (16:31 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 31 Jan 2021 16:31:43 +0000 (16:31 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/patterns/PatternViewHolder.java
app/src/main/res/layout/pattern_layout.xml

index b6cac9b2662335643782d15ecc2ec381f02f9dd7..8dc8e32b878f62bb13da5e7335d4d4973b6777e6 100644 (file)
@@ -31,7 +31,7 @@ class PatternViewHolder extends RecyclerView.ViewHolder {
     }
     public void bindToItem(PatternHeader item) {
         b.patternName.setText(item.getName());
-        b.editButon.setOnClickListener(v -> {
+        b.editButton.setOnClickListener(v -> {
             ((PatternsActivity) v.getContext()).onEditPattern(item.getId());
         });
     }
index 6c1928fa8650ed97f6f6b959a0919770f99931d4..fdeea8c1cb7ed2a78ac97c861ca4ceb4b3e3111b 100644 (file)
         android:layout_marginStart="@dimen/text_margin"
         android:layout_marginEnd="@dimen/text_margin"
         app:layout_constraintBottom_toBottomOf="parent"
-        app:layout_constraintEnd_toStartOf="@id/edit_buton"
+        app:layout_constraintEnd_toStartOf="@id/edit_button"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toTopOf="parent"
         />
     <ImageButton
-        android:id="@+id/edit_buton"
+        android:id="@+id/edit_button"
         android:layout_width="@dimen/toolbar_height"
         android:layout_height="@dimen/toolbar_height"
         android:contentDescription="@string/edit_button_description"