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

@ -13,8 +13,7 @@ final localNotificationService = Provider(
);
class LocalNotificationService {
final FlutterLocalNotificationsPlugin _localNotificationPlugin =
FlutterLocalNotificationsPlugin();
final FlutterLocalNotificationsPlugin _localNotificationPlugin = FlutterLocalNotificationsPlugin();
final PermissionStatus _permissionStatus;
final Ref ref;
@ -29,17 +28,14 @@ class LocalNotificationService {
static const cancelUploadActionID = 'cancel_upload';
Future<void> setup() async {
const androidSetting =
AndroidInitializationSettings('@drawable/notification_icon');
const androidSetting = AndroidInitializationSettings('@drawable/notification_icon');
const iosSetting = DarwinInitializationSettings();
const initSettings =
InitializationSettings(android: androidSetting, iOS: iosSetting);
const initSettings = InitializationSettings(android: androidSetting, iOS: iosSetting);
await _localNotificationPlugin.initialize(
initSettings,
onDidReceiveNotificationResponse:
_onDidReceiveForegroundNotificationResponse,
onDidReceiveNotificationResponse: _onDidReceiveForegroundNotificationResponse,
);
}