Skip to content

Commit 6c391a2

Browse files
authored
fix crash (#4251)
1 parent 644483e commit 6c391a2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

firebase-appdistribution/src/main/java/com/google/firebase/appdistribution/impl/FeedbackActivity.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import android.os.Bundle;
2424
import android.text.method.LinkMovementMethod;
2525
import android.view.View;
26-
import android.widget.Button;
2726
import android.widget.CheckBox;
2827
import android.widget.EditText;
2928
import android.widget.ImageView;
@@ -72,9 +71,7 @@ private void setupView() {
7271
infoTextView.setMovementMethod(LinkMovementMethod.getInstance());
7372

7473
findViewById(R.id.backButton).setOnClickListener(v -> finish());
75-
76-
Button sendButton = this.findViewById(R.id.sendButton);
77-
sendButton.setOnClickListener(this::submitFeedback);
74+
findViewById(R.id.sendButton).setOnClickListener(this::submitFeedback);
7875

7976
Bitmap screenshot = screenshotUri == null ? null : readScreenshot();
8077
if (screenshot != null) {

0 commit comments

Comments
 (0)