Skip to content

Commit 03cca0d

Browse files
committed
⚡ Call setState after returned without input method activated.
1 parent 4f80aa5 commit 03cca0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

example/lib/main.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ class _MyHomePageState extends State<MyHomePage> {
4848
);
4949
if (result != null) {
5050
assets = List<AssetEntity>.from(result);
51+
if (mounted) {
52+
setState(() {});
53+
}
5154
}
5255
}
5356

0 commit comments

Comments
 (0)