Merge pull request #6297 from vector-im/feature/adm/opt-in-screenshots-in-bug-report

Making bug report screenshots opt in instead of opt out
This commit is contained in:
Adam Brown 2022-06-16 12:08:25 +01:00 committed by GitHub
commit 4f86ad0934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

1
changelog.d/6261.misc Normal file
View File

@ -0,0 +1 @@
Making screenshots in bug reports opt in instead of opt out

View File

@ -259,7 +259,7 @@ class BugReportActivity : VectorBaseActivity<ActivityBugReportBinding>() {
}
private fun onSendScreenshotChanged() {
views.bugReportScreenshotPreview.isVisible = views.bugReportButtonIncludeScreenshot.isChecked && bugReporter.screenshot != null
views.bugReportScreenshotPreview.isVisible = bugReporter.screenshot != null
}
override fun onBackPressed() {

View File

@ -154,7 +154,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
android:checked="true"
android:checked="false"
android:text="@string/send_bug_report_include_screenshot" />
<ImageView
@ -181,4 +181,4 @@
android:clickable="true"
android:focusable="true"
android:visibility="gone" />
</LinearLayout>
</LinearLayout>