Merge pull request #9872 from TeamNewPipe/fix-lint
Remove wrong annotation
This commit is contained in:
commit
0cd1a86aa5
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ import android.util.Log
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.widget.Button
|
import android.widget.Button
|
||||||
import android.widget.TextView
|
import android.widget.TextView
|
||||||
import androidx.annotation.Nullable
|
|
||||||
import androidx.annotation.StringRes
|
import androidx.annotation.StringRes
|
||||||
import androidx.core.view.isVisible
|
import androidx.core.view.isVisible
|
||||||
import androidx.fragment.app.Fragment
|
import androidx.fragment.app.Fragment
|
||||||
|
@ -144,7 +143,7 @@ class ErrorPanelHelper(
|
||||||
*/
|
*/
|
||||||
private fun showAndSetErrorButtonAction(
|
private fun showAndSetErrorButtonAction(
|
||||||
@StringRes resid: Int,
|
@StringRes resid: Int,
|
||||||
@Nullable listener: View.OnClickListener
|
listener: View.OnClickListener
|
||||||
) {
|
) {
|
||||||
errorActionButton.isVisible = true
|
errorActionButton.isVisible = true
|
||||||
errorActionButton.setText(resid)
|
errorActionButton.setText(resid)
|
||||||
|
|
Loading…
Reference in a new issue