From dd68e79a93180107b2c7ef5a765f917a4b7821a8 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 13 Mar 2017 15:41:17 +0100 Subject: [PATCH] Removed google-services.json from repository --- app/.gitignore | 3 ++- .../keylesspalace/tusky/ConversationLineItemDecoration.java | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/.gitignore b/app/.gitignore index e493cfc4..7c176a4e 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1,2 +1,3 @@ /build -app-release.apk \ No newline at end of file +app-release.apk +google-services.json diff --git a/app/src/main/java/com/keylesspalace/tusky/ConversationLineItemDecoration.java b/app/src/main/java/com/keylesspalace/tusky/ConversationLineItemDecoration.java index 9dbce756..6c156541 100644 --- a/app/src/main/java/com/keylesspalace/tusky/ConversationLineItemDecoration.java +++ b/app/src/main/java/com/keylesspalace/tusky/ConversationLineItemDecoration.java @@ -21,8 +21,6 @@ class ConversationLineItemDecoration extends RecyclerView.ItemDecoration { @Override 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 dividerRight = dividerLeft + mDivider.getIntrinsicWidth();