chore: bump line length to 120 (#20191)

This commit is contained in:
shenlong 2025-07-25 08:07:22 +05:30 committed by GitHub
parent 977c9b96ba
commit ad65e9011a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
517 changed files with 4520 additions and 9514 deletions

View file

@ -38,9 +38,7 @@ class ShareIntentPage extends HookConsumerWidget {
void upload() async {
for (final attachment in candidates) {
await ref
.read(shareIntentUploadProvider.notifier)
.upload(attachment.file);
await ref.read(shareIntentUploadProvider.notifier).upload(attachment.file);
}
isUploaded.value = true;
@ -76,9 +74,7 @@ class ShareIntentPage extends HookConsumerWidget {
leading: IconButton(
onPressed: () {
context.navigateTo(
Store.isBetaTimelineEnabled
? const TabShellRoute()
: const TabControllerRoute(),
Store.isBetaTimelineEnabled ? const TabShellRoute() : const TabControllerRoute(),
);
},
icon: const Icon(Icons.arrow_back),
@ -170,9 +166,7 @@ class ShareIntentPage extends HookConsumerWidget {
height: 48,
child: ElevatedButton(
onPressed: isUploaded.value ? null : upload,
child: isUploaded.value
? UploadingText(candidates: candidates)
: const Text('upload').tr(),
child: isUploaded.value ? UploadingText(candidates: candidates) : const Text('upload').tr(),
),
),
),