mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Add PickerLauncher wrapper for media/file pickers. (#361)
* Add `PickerLauncher` wrapper for media/file pickers. * Add FileProvider path, handle Camera picker and add NoOp implementation to fix tests. * Move media pickers to their own module. * Add missing media pickers * Add feature flag and some extra tests
This commit is contained in:
committed by
GitHub
parent
78a715ce8d
commit
eeca1c9ee3
+2
@@ -50,6 +50,7 @@ fun TextComposer(
|
||||
onFullscreenToggle: () -> Unit = {},
|
||||
onCloseSpecialMode: () -> Unit = {},
|
||||
onComposerTextChange: (CharSequence) -> Unit = {},
|
||||
onAddAttachment:() -> Unit = {},
|
||||
) {
|
||||
if (LocalInspectionMode.current) {
|
||||
FakeComposer(modifier)
|
||||
@@ -78,6 +79,7 @@ fun TextComposer(
|
||||
}
|
||||
|
||||
override fun onAddAttachment() {
|
||||
onAddAttachment()
|
||||
}
|
||||
|
||||
override fun onExpandOrCompactChange() {
|
||||
|
||||
Reference in New Issue
Block a user