This commit is contained in:
Kima 2024-02-27 22:42:45 +01:00
parent 9c43de08db
commit 1b17e0d0ce

View File

@ -35,7 +35,7 @@ class ThirdPartyProvider with ChangeNotifier {
Future<void> restore() async { Future<void> restore() async {
String? userId = Provider.of<UserProvider>(_context, listen: false).id; String? userId = Provider.of<UserProvider>(_context, listen: false).id;
// Load absences from the database // load accounts from db
if (userId != null) { if (userId != null) {
var dbLinkedAccounts = var dbLinkedAccounts =
await Provider.of<DatabaseProvider>(_context, listen: false) await Provider.of<DatabaseProvider>(_context, listen: false)