Skip to content

Commit

Permalink
Fix styles popup when only single one is available
Browse files Browse the repository at this point in the history
  • Loading branch information
Sominemo committed Jun 27, 2021
1 parent f8b9aa6 commit e622156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/export/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class ExportController {

info = await getStickerJson(context, account.vk, id!);

if (info!['payload'][1][0]['products'].length > 0) {
if (info!['payload'][1][0]['products'].length > 1) {
stickerTarget = await chooseYourFighter(
context,
List<Map<String, dynamic>>.from(info!['payload'][1][0]['products']),
Expand Down

0 comments on commit e622156

Please sign in to comment.