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
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
stateKey = packKeys?.first;
|
stateKey = packKeys?.firstOrNull;
|
||||||
}
|
}
|
||||||
|
|
||||||
void setStateKey(String key) {
|
void setStateKey(String key) {
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ class EmotesSettingsView extends StatelessWidget {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
bottom: packKeys == null
|
bottom: packKeys == null || packKeys.isEmpty
|
||||||
? null
|
? null
|
||||||
: PreferredSize(
|
: PreferredSize(
|
||||||
preferredSize: const Size.fromHeight(48),
|
preferredSize: const Size.fromHeight(48),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue