mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
review: Update signature and keep formatters grouped together
This commit is contained in:
+1
-1
@@ -54,8 +54,8 @@ class DefaultRoomLatestEventFormatter(
|
|||||||
private val roomMembershipContentFormatter: RoomMembershipContentFormatter,
|
private val roomMembershipContentFormatter: RoomMembershipContentFormatter,
|
||||||
private val profileChangeContentFormatter: ProfileChangeContentFormatter,
|
private val profileChangeContentFormatter: ProfileChangeContentFormatter,
|
||||||
private val stateContentFormatter: StateContentFormatter,
|
private val stateContentFormatter: StateContentFormatter,
|
||||||
private val permalinkParser: PermalinkParser,
|
|
||||||
private val rtcNotificationContentFormatter: RtcNotificationContentFormatter,
|
private val rtcNotificationContentFormatter: RtcNotificationContentFormatter,
|
||||||
|
private val permalinkParser: PermalinkParser,
|
||||||
) : RoomLatestEventFormatter {
|
) : RoomLatestEventFormatter {
|
||||||
override fun format(
|
override fun format(
|
||||||
latestEvent: LatestEventValue.Local,
|
latestEvent: LatestEventValue.Local,
|
||||||
|
|||||||
+2
-2
@@ -74,8 +74,8 @@ class DefaultRoomLatestEventFormatterTest {
|
|||||||
roomMembershipContentFormatter = RoomMembershipContentFormatter(fakeMatrixClient, stringProvider),
|
roomMembershipContentFormatter = RoomMembershipContentFormatter(fakeMatrixClient, stringProvider),
|
||||||
profileChangeContentFormatter = ProfileChangeContentFormatter(stringProvider),
|
profileChangeContentFormatter = ProfileChangeContentFormatter(stringProvider),
|
||||||
stateContentFormatter = StateContentFormatter(stringProvider),
|
stateContentFormatter = StateContentFormatter(stringProvider),
|
||||||
permalinkParser = FakePermalinkParser(),
|
rtcNotificationContentFormatter = RtcNotificationContentFormatter(fakeMatrixClient, stringProvider),
|
||||||
rtcNotificationContentFormatter = RtcNotificationContentFormatter(fakeMatrixClient, stringProvider)
|
permalinkParser = FakePermalinkParser()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user