Skip to content

Commit

Permalink
Fix padding being too small above menu title
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed Apr 22, 2019
1 parent aa8027b commit 492d1cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ private void createText(String text, boolean isTitle, boolean isHtml) {
} else {
v.setTextAppearance(R.style.Subhead);
}
textPaddingTop = rowPadding;

textPaddingTop = getContext().getResources().getDimensionPixelSize(R.dimen.vertical_padding);
} else if (messagePaddingTop) {
textPaddingTop = getContext().getResources().getDimensionPixelSize(R.dimen.vertical_padding);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public Result<T> execute(@NonNull Bundle args) {
throw e; // Proceed with error.
}

// TODO: log if this happens at all.
// This should never be the case:
// 1. If the access token is expired, the getToken() function will have caught and resolved it.
// 2. If not resolvable, an AuthenticatorActionException will be thrown.
Expand Down

0 comments on commit 492d1cc

Please sign in to comment.