refactor: Add more stricter lints
This commit is contained in:
parent
c59031c44c
commit
5283d0fcc8
15 changed files with 66 additions and 60 deletions
|
|
@ -234,9 +234,9 @@ class EmotesSettingsController extends State<EmotesSettings> {
|
|||
?.tryGetMap<String, Object?>(stateKey ?? '') !=
|
||||
null;
|
||||
|
||||
bool get readonly => room == null
|
||||
? false
|
||||
: room?.canChangeStateEvent('im.ponies.room_emotes') == false;
|
||||
bool get readonly =>
|
||||
room != null &&
|
||||
room?.canChangeStateEvent('im.ponies.room_emotes') == false;
|
||||
|
||||
void resetAction() {
|
||||
setState(() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue