Explain runtime invariants and avoid redundant unwraps

This commit is contained in:
Samuel Onoja committed 2026-10-22 01:28:03 +01:00
1 parent 34f2f07301
commit 1b51ba83b4
116 files changed
+1643 -515

No files matched your search

+3 -1
View File
@@ -844,7 +844,9 @@ impl FereseShell {
let body: Element<'_, cosmic::Action<Message>> = match mode {
_ if activity.is_some() => self.hub_activity_strip(
id,
activity.unwrap(),
activity.expect(
"the activity-specific hub view requires its selected activity",
),
mode == Mode::Peek,
intrinsic,
opacity,