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-24 04:40:48 +0300
commitb5403a6178c9f37dfeee258cc44cc3e2f4870e73 (patch)
tree38658bcd0681cca088b5c9bcfb1fd68d36bdf55d /src/components
parent0f62d5315c47ee94a37d061456184d6a7b8947a6 (diff)
downloadbowl-b5403a6178c9f37dfeee258cc44cc3e2f4870e73.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,