mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
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() {
|
||||
views.bugReportScreenshotPreview.isVisible = views.bugReportButtonIncludeScreenshot.isChecked && bugReporter.screenshot != null
|
||||
views.bugReportScreenshotPreview.isVisible = bugReporter.screenshot != null
|
||||
}
|
||||
|
||||
override fun onBackPressed() {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user