File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed
Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/InputPanel/Input Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,18 @@ struct ChatInput: View {
3939 Label ( Loc . photos, systemImage: " photo " )
4040 }
4141
42+ Button { onTapCamera ( ) } label: {
43+ Label ( Loc . camera, systemImage: " camera " )
44+ }
45+
46+ Button { onTapAddFiles ( ) } label: {
47+ Label ( Loc . files, systemImage: " doc " )
48+ }
49+
50+ Button { onTapAddObject ( ) } label: {
51+ Label ( Loc . attachObject, systemImage: " link " )
52+ }
53+
4254 if let objectType = mainObjectTypeToCreate ( ) {
4355 Button {
4456 onTapCreateObject ( objectType)
@@ -47,23 +59,9 @@ struct ChatInput: View {
4759 }
4860 }
4961
50- Button { onTapAddObject ( ) } label: {
51- Label ( Loc . attachObject, systemImage: " link " )
52- }
53-
5462 Divider ( )
5563
5664 Menu {
57- Button { onTapCamera ( ) } label: {
58- Label ( Loc . camera, systemImage: " camera " )
59- }
60-
61- Button { onTapAddFiles ( ) } label: {
62- Label ( Loc . files, systemImage: " doc " )
63- }
64-
65- Divider ( )
66-
6765 ForEach ( moreObjectTypesToCreate ( ) ) { type in
6866 Button {
6967 onTapCreateObject ( type)
You can’t perform that action at this time.
0 commit comments