summary refs log tree commit diff
path: root/src/components
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2025-02-19 21:10:41 +0300
committerVika <vika@fireburn.ru>2025-02-19 21:10:41 +0300
commit00217fa162995f75a6bc8769a409cf2a028648e8 (patch)
treed1810016b34e70ce2143c3a1c177fccf833d1d72 /src/components
parent060f5330d772a3caf803fdf24f7cd5b531a96dd5 (diff)
downloadbowl-00217fa162995f75a6bc8769a409cf2a028648e8.tar.zst
Document why we aren't using AdwMultiLayoutView in the post editor
Diffstat (limited to 'src/components')
-rw-r--r--src/components/post_editor.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/post_editor.rs b/src/components/post_editor.rs
index d9d85c0..7bc23b3 100644
--- a/src/components/post_editor.rs
+++ b/src/components/post_editor.rs
@@ -303,6 +303,9 @@ impl<E: std::error::Error + std::fmt::Debug + Send + 'static> Component for Post
                     },
                 },
 
+                // We could've used AdwMultiLayoutView, but a raw
+                // breakpoint makes a bit more sense since we need to
+                // change some properties along the way.
                 add_breakpoint = adw::Breakpoint::new(
                     adw::BreakpointCondition::new_length(
                         adw::BreakpointConditionLengthType::MinWidth,