Removed google-services.json from repository

main
Eugen Rochko 8 years ago
parent 4e8d1375a0
commit dd68e79a93
  1. 1
      app/.gitignore
  2. 2
      app/src/main/java/com/keylesspalace/tusky/ConversationLineItemDecoration.java

1
app/.gitignore vendored

@ -1,2 +1,3 @@
/build /build
app-release.apk app-release.apk
google-services.json

@ -21,8 +21,6 @@ class ConversationLineItemDecoration extends RecyclerView.ItemDecoration {
@Override @Override
public void onDraw(Canvas c, RecyclerView parent, RecyclerView.State state) { public void onDraw(Canvas c, RecyclerView parent, RecyclerView.State state) {
// Fun fact: this method draws in pixels, but all layouts are in DP, so I'm using the divider's
// own 2dp width to calculate what I want
int dividerLeft = parent.getPaddingLeft() + mContext.getResources().getDimensionPixelSize(R.dimen.status_left_line_margin); int dividerLeft = parent.getPaddingLeft() + mContext.getResources().getDimensionPixelSize(R.dimen.status_left_line_margin);
int dividerRight = dividerLeft + mDivider.getIntrinsicWidth(); int dividerRight = dividerLeft + mDivider.getIntrinsicWidth();

Loading…
Cancel
Save