mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 18:28:40 +00:00
fix #239
This commit is contained in:
parent
a4e5c59446
commit
aa4654344b
1 changed files with 4 additions and 0 deletions
|
|
@ -119,6 +119,10 @@ class _ModifyAvatarState extends State<ModifyAvatar> {
|
||||||
),
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(FontAwesomeIcons.rotateLeft),
|
icon: const Icon(FontAwesomeIcons.rotateLeft),
|
||||||
|
onLongPress: () {
|
||||||
|
PersistentAvatarMakerController.clearAvatarMaker();
|
||||||
|
_avatarMakerController.restoreState();
|
||||||
|
},
|
||||||
onPressed: _avatarMakerController.restoreState,
|
onPressed: _avatarMakerController.restoreState,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue