Skip to content

Commit 321324a

Browse files
committed
Fixed crash on category selection/creation (fixes #741)
1 parent 75cc6bf commit 321324a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

omniNotes/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ dependencies {
165165
transitive = true
166166
exclude group: "com.android.support"
167167
}
168-
implementation 'com.jakewharton:butterknife:10.2.0'
169-
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
168+
implementation 'com.jakewharton:butterknife:10.2.1'
169+
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
170170
implementation('org.mnode.ical4j:ical4j:3.0.11') {
171171
exclude group: 'commons.io'
172172
}

omniNotes/src/main/java/it/feio/android/omninotes/models/adapters/category/CategoryViewHolder.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
import android.view.View;
2121
import android.widget.ImageView;
2222
import androidx.recyclerview.widget.RecyclerView.ViewHolder;
23+
import butterknife.BindView;
2324
import butterknife.ButterKnife;
2425
import com.neopixl.pixlui.components.textview.TextView;
26+
import it.feio.android.omninotes.R;
2527

2628
public class CategoryViewHolder extends ViewHolder {
2729

@@ -30,7 +32,10 @@ public CategoryViewHolder (View view) {
3032
ButterKnife.bind(this, view);
3133
}
3234

35+
@BindView(R.id.icon)
3336
public ImageView imgIcon;
37+
@BindView(R.id.title)
3438
public TextView txtTitle;
39+
@BindView(R.id.count)
3540
public android.widget.TextView count;
3641
}

0 commit comments

Comments
 (0)