Implement redraft feature. (#1190)
* Implement "Delete and Edit" feature * Some changes to ComposeActivity Support for uploaded medias, sensitive option. Fix typo. Change names of some extra keys. * Use Glide instead of Picasso * Pass ArrayList instead of json * Change wording for re-draft * Fix test
This commit is contained in:
parent
49ede9183d
commit
60d6927af6
12 changed files with 178 additions and 63 deletions
|
@ -81,7 +81,7 @@ class BottomSheetActivityTest {
|
|||
false,
|
||||
"",
|
||||
Status.Visibility.PUBLIC,
|
||||
listOf(),
|
||||
ArrayList(),
|
||||
arrayOf(),
|
||||
null,
|
||||
pinned = false
|
||||
|
|
|
@ -30,6 +30,7 @@ import org.mockito.Mock
|
|||
import org.mockito.MockitoAnnotations
|
||||
import java.util.*
|
||||
import java.util.concurrent.TimeUnit
|
||||
import kotlin.collections.ArrayList
|
||||
|
||||
class TimelineRepositoryTest {
|
||||
@Mock
|
||||
|
@ -297,7 +298,7 @@ class TimelineRepositoryTest {
|
|||
spoilerText = "",
|
||||
reblogged = true,
|
||||
favourited = false,
|
||||
attachments = listOf(),
|
||||
attachments = ArrayList(),
|
||||
mentions = arrayOf(),
|
||||
application = null,
|
||||
inReplyToAccountId = null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue