chore: Follow up emote settings
This commit is contained in:
parent
3c86da7932
commit
43c5c35fcc
2 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ class EmotesSettingsController extends State<EmotesSettings> {
|
|||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
stateKey = packKeys?.first;
|
||||
stateKey = packKeys?.firstOrNull;
|
||||
}
|
||||
|
||||
void setStateKey(String key) {
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ class EmotesSettingsView extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
],
|
||||
bottom: packKeys == null
|
||||
bottom: packKeys == null || packKeys.isEmpty
|
||||
? null
|
||||
: PreferredSize(
|
||||
preferredSize: const Size.fromHeight(48),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue