File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
main/java/org/thoughtcrime/securesms/conversation/v2
test/java/org/thoughtcrime/securesms/conversation/v2 Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,9 @@ import java.time.ZoneId
90
90
import java.util.UUID
91
91
92
92
93
+ // the amount of character left at which point we should show an indicator
94
+ private const val CHARACTER_LIMIT_THRESHOLD = 200
95
+
93
96
class ConversationViewModel (
94
97
val threadId : Long ,
95
98
val edKeyPair : KeyPair ? ,
@@ -146,9 +149,6 @@ class ConversationViewModel(
146
149
))
147
150
val appBarData: StateFlow <ConversationAppBarData > = _appBarData
148
151
149
- // the amount of character left at which point we should show an indicator
150
- private val CHARACTER_LIMIT_THRESHOLD = 200
151
-
152
152
private var _recipient : RetrieveOnce <Recipient > = RetrieveOnce {
153
153
val conversation = repository.maybeGetRecipientForThreadId(threadId)
154
154
Original file line number Diff line number Diff line change @@ -93,7 +93,8 @@ class ConversationViewModelTest: BaseViewModelTest() {
93
93
dateUtils = mock(),
94
94
openGroupManager = mock {
95
95
on { getCommunitiesWriteAccessFlow() } doReturn MutableStateFlow (emptyMap())
96
- }
96
+ },
97
+ proStatusManager = mock()
97
98
)
98
99
}
99
100
You can’t perform that action at this time.
0 commit comments