treewide cleanups
This commit is contained in:
parent
53d9c2b1e6
commit
853116ab2f
2 changed files with 88 additions and 138 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue