treewide cleanups

This commit is contained in:
Henry Hiles 2026-10-23 20:26:37 -04:00
commit 853116ab2f
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 88 additions and 138 deletions

View file

@ -399,11 +399,11 @@ class const Composer(
if (!shiftPressed) {
send();
return KeyEventResult.handled;
return .handled;
}
}
return KeyEventResult.ignored;
return .ignored;
},
// Overrides the keyboard shortcut for pasting
child: Actions(

View file

@ -38,7 +38,7 @@ class const RelationPreview(
onPressed: toggleShouldMention,
child: Text(
shouldMention ? "@On" : "@Off",
style: TextStyle(
style: .new(
fontWeight: .w900,
color: shouldMention ? null : Theme.of(context).disabledColor,
),