diff options
author | Vika <vika@fireburn.ru> | 2025-02-19 21:10:41 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-02-24 04:40:48 +0300 |
commit | b5403a6178c9f37dfeee258cc44cc3e2f4870e73 (patch) | |
tree | 38658bcd0681cca088b5c9bcfb1fd68d36bdf55d | |
parent | 0f62d5315c47ee94a37d061456184d6a7b8947a6 (diff) | |
download | bowl-b5403a6178c9f37dfeee258cc44cc3e2f4870e73.tar.zst |
Document why we aren't using AdwMultiLayoutView in the post editor
-rw-r--r-- | src/components/post_editor.rs | 3 |
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, |