Remove unneeded nullish coalescing
This commit is contained in:
parent
af09e56a1f
commit
46059b5b83
|
@ -506,10 +506,7 @@ class _ModlogEntry {
|
|||
),
|
||||
),
|
||||
action,
|
||||
if (reason == null)
|
||||
const Center(child: Text('-'))
|
||||
else
|
||||
Text(reason ?? '-'),
|
||||
if (reason == null) const Center(child: Text('-')) else Text(reason),
|
||||
]
|
||||
.map(
|
||||
(widget) => Padding(
|
||||
|
|
Loading…
Reference in New Issue