Skip to content

Commit d5d5161

Browse files
committed
Fix ViewParent cast error
1 parent 7212755 commit d5d5161

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎app/src/main/java/com/github/actions/MainActivity.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private void setupListeners() {
7171
}
7272

7373
private void animateContent() {
74-
View content = findViewById(R.id.etUsername).getParent().getParent().getParent();
74+
View content = (View) findViewById(R.id.etUsername).getParent().getParent().getParent();
7575
content.setAlpha(0f);
7676
content.animate()
7777
.alpha(1f)

0 commit comments

Comments
 (0)