Skip to content

Commit

Permalink
Fix Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Kennyc1012 committed Nov 12, 2015
1 parent a914247 commit db9319d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@
public class BottomSheet extends Dialog implements AdapterView.OnItemClickListener, CollapsingView.CollapseListener {
private static final int MIN_LIST_TABLET_ITEMS = 6;

private static final int NO_RESOURCE = -1;

private static final String TAG = BottomSheet.class.getSimpleName();

private static final int[] ATTRS = new int[]{
Expand Down Expand Up @@ -281,7 +279,7 @@ private int getNumColumns(Resources resources, int dialogWidth) {
return resources.getInteger(R.integer.bottomsheet_num_columns);
}

// If a talbet with more than 6 items are present, split them into 2 columns
// If a tablet with more than 6 items are present, split them into 2 columns
if (dialogWidth > 0) {
if (mBuilder.menuItems != null) {
return mBuilder.menuItems.size() >= MIN_LIST_TABLET_ITEMS ? 2 : 1;
Expand Down

0 comments on commit db9319d

Please sign in to comment.