Skip to content

Commit bbe01a2

Browse files
committed
Fix toast
1 parent a11adf0 commit bbe01a2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

app/src/main/java/com/example/notepack/ui/notepack/CreateNotepackFragment.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ public void onClick(View view) {
191191
notepacksCounter = cursor1.getInt(0) + 1;
192192
}else{
193193
notepacksCounter = 0;
194-
text.setText(getString(R.string.database_error));
195-
toast.show();
196194
}
197195
notepackId = notepacksCounter;
198196
itemsCounter = 0;

0 commit comments

Comments
 (0)