refactor: Add code quality reports

This commit is contained in:
Krille Fear 2021-10-16 09:59:38 +02:00
commit 2f978c5098
17 changed files with 93 additions and 29 deletions

View file

@ -105,13 +105,9 @@ class BackgroundPush {
return instance;
}
Future<void> fullInit() async {
await setupPush();
}
Future<void> fullInit() => setupPush();
void handleLoginStateChanged(LoginState state) {
setupPush();
}
void handleLoginStateChanged(_) => setupPush();
void _newFcmToken(String token) {
_fcmToken = token;