File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,13 @@ fn render_note_contents(
211
211
}
212
212
}
213
213
}
214
+
215
+ if !images. is_empty ( ) && !options. has_textmode ( ) {
216
+ ui. add_space ( 2.0 ) ;
217
+ let carousel_id = egui:: Id :: new ( ( "carousel" , note. key ( ) . expect ( "expected tx note" ) ) ) ;
218
+ image_carousel ( ui, img_cache, images, carousel_id) ;
219
+ ui. add_space ( 2.0 ) ;
220
+ }
214
221
} ) ;
215
222
216
223
let note_action = if let Some ( ( id, block_str) ) = inline_note {
@@ -219,13 +226,6 @@ fn render_note_contents(
219
226
None
220
227
} ;
221
228
222
- if !images. is_empty ( ) && !options. has_textmode ( ) {
223
- ui. add_space ( 2.0 ) ;
224
- let carousel_id = egui:: Id :: new ( ( "carousel" , note. key ( ) . expect ( "expected tx note" ) ) ) ;
225
- image_carousel ( ui, img_cache, images, carousel_id) ;
226
- ui. add_space ( 2.0 ) ;
227
- }
228
-
229
229
NoteResponse :: new ( response. response ) . with_action ( note_action)
230
230
}
231
231
You can’t perform that action at this time.
0 commit comments