fix analyzer

This commit is contained in:
otsmr 2025-12-21 17:22:05 +01:00
parent c91c53dd8b
commit b9bb074ba6
3 changed files with 4 additions and 2 deletions

View file

@ -178,7 +178,8 @@ class PurchasesProvider with ChangeNotifier, DiagnosticableTreeMixin {
for (var i = 0; i < 100; i++) { for (var i = 0; i < 100; i++) {
if (apiService.isAuthenticated) { if (apiService.isAuthenticated) {
Log.info( Log.info(
'current user does not have a sub: ${purchaseDetails.productID}'); 'current user does not have a sub: ${purchaseDetails.productID}',
);
await _verifyPurchase(purchaseDetails); await _verifyPurchase(purchaseDetails);
break; break;
} }

View file

@ -364,5 +364,6 @@ String getAvatarSvg(Uint8List avatarSvgCompressed) {
void printWrapped(String text) { void printWrapped(String text) {
final pattern = RegExp('.{1,800}'); // 800 is the size of each chunk final pattern = RegExp('.{1,800}'); // 800 is the size of each chunk
// ignore: avoid_print
pattern.allMatches(text).forEach((match) => print(match.group(0))); pattern.allMatches(text).forEach((match) => print(match.group(0)));
} }

View file

@ -98,7 +98,7 @@ class _SettingsMainViewState extends State<SettingsMainView> {
}, },
icon: const FaIcon(FontAwesomeIcons.qrcode), icon: const FaIcon(FontAwesomeIcons.qrcode),
), ),
) ),
], ],
), ),
), ),