mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 18:05:36 +03:00
Code quality
This commit is contained in:
parent
d20fae2593
commit
dc8668b222
3 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue