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:
commit
4f86ad0934
1
changelog.d/6261.misc
Normal file
1
changelog.d/6261.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Making screenshots in bug reports opt in instead of opt out
|
@ -259,7 +259,7 @@ class BugReportActivity : VectorBaseActivity<ActivityBugReportBinding>() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun onSendScreenshotChanged() {
|
private fun onSendScreenshotChanged() {
|
||||||
views.bugReportScreenshotPreview.isVisible = views.bugReportButtonIncludeScreenshot.isChecked && bugReporter.screenshot != null
|
views.bugReportScreenshotPreview.isVisible = bugReporter.screenshot != null
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onBackPressed() {
|
override fun onBackPressed() {
|
||||||
|
@ -154,7 +154,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
android:checked="true"
|
android:checked="false"
|
||||||
android:text="@string/send_bug_report_include_screenshot" />
|
android:text="@string/send_bug_report_include_screenshot" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
@ -181,4 +181,4 @@
|
|||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user