1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-15 15:37:38 +00:00

Fix REPORT in snackbar not opening ErrorActivity if MainActivity not shown

Bug caused by https://github.com/TeamNewPipe/NewPipe/pull/11789
This commit is contained in:
Stypox
2025-08-30 14:39:23 +02:00
parent a369deeef4
commit 989c0cfd28

View File

@@ -159,7 +159,7 @@ class ErrorUtil {
Snackbar.make(rootView, errorInfo.getMessage(context), Snackbar.LENGTH_LONG)
.setActionTextColor(Color.YELLOW)
.setAction(context.getString(R.string.error_snackbar_action).uppercase()) {
openActivity(context, errorInfo)
context.startActivity(getErrorActivityIntent(context, errorInfo))
}.show()
}
}