Code quality

This commit is contained in:
Benoit Marty 2020-10-20 16:24:18 +02:00 committed by Benoit Marty
parent d20fae2593
commit dc8668b222
3 changed files with 2 additions and 3 deletions

View File

@ -164,7 +164,7 @@ Formatter\.formatShortFileSize===1
# android\.text\.TextUtils
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
enum class===82
enum class===83
### Do not import temporary legacy classes
import org.matrix.android.sdk.internal.legacy.riot===3

View File

@ -277,7 +277,6 @@ class RoomProfileFragment @Inject constructor(
}
}
override fun onImageReady(image: MultiPickerImageType) {
val destinationFile = File(requireContext().cacheDir, "${image.displayName}_edited_image_${System.currentTimeMillis()}")
val uri = image.contentUri

View File

@ -39,7 +39,7 @@
android:id="@+id/itemEditableAvatarDelete"
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/circle"
android:background="@drawable/header_panel_round_background"
android:scaleType="center"
android:src="@drawable/ic_delete"
android:visibility="gone"