refactor: Enable more strict lints
This commit is contained in:
parent
f797bce8d0
commit
28af7bb0c7
65 changed files with 170 additions and 146 deletions
|
|
@ -245,7 +245,7 @@ class EmotesSettingsController extends State<EmotesSettings> {
|
|||
});
|
||||
}
|
||||
|
||||
void createImagePack() async {
|
||||
Future<void> createImagePack() async {
|
||||
final room = this.room;
|
||||
if (room == null) throw Exception('Cannot create image pack without room');
|
||||
|
||||
|
|
@ -287,14 +287,14 @@ class EmotesSettingsController extends State<EmotesSettings> {
|
|||
setState(() {});
|
||||
}
|
||||
|
||||
void saveAction() async {
|
||||
Future<void> saveAction() async {
|
||||
await save(context);
|
||||
setState(() {
|
||||
showSave = false;
|
||||
});
|
||||
}
|
||||
|
||||
void createStickers() async {
|
||||
Future<void> createStickers() async {
|
||||
final pickedFiles = await selectFiles(
|
||||
context,
|
||||
type: FileType.image,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue