mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 02:45:53 +03: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
3 changed files with 4 additions and 3 deletions
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
|
||||||
|
|
Loading…
Reference in a new issue