diff options
author | Vika <vika@fireburn.ru> | 2025-02-19 21:10:41 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-02-19 21:10:41 +0300 |
commit | 00217fa162995f75a6bc8769a409cf2a028648e8 (patch) | |
tree | d1810016b34e70ce2143c3a1c177fccf833d1d72 /src/components/post_editor.rs | |
parent | 060f5330d772a3caf803fdf24f7cd5b531a96dd5 (diff) | |
download | bowl-00217fa162995f75a6bc8769a409cf2a028648e8.tar.zst |
Document why we aren't using AdwMultiLayoutView in the post editor
Diffstat (limited to 'src/components/post_editor.rs')
-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, |