mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 11:18:41 +00:00
fix analyzer
This commit is contained in:
parent
c91c53dd8b
commit
b9bb074ba6
3 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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)));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ class _SettingsMainViewState extends State<SettingsMainView> {
|
||||||
},
|
},
|
||||||
icon: const FaIcon(FontAwesomeIcons.qrcode),
|
icon: const FaIcon(FontAwesomeIcons.qrcode),
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue