mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-03-03 13:56:45 +00:00
fix #382
This commit is contained in:
parent
9813698e59
commit
fa767977dd
1 changed files with 7 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ import 'package:twonly/src/model/protobuf/api/websocket/server_to_client.pb.dart
|
|||
as server;
|
||||
import 'package:twonly/src/model/protobuf/api/websocket/server_to_client.pbserver.dart';
|
||||
import 'package:twonly/src/services/api/mediafiles/download.service.dart';
|
||||
import 'package:twonly/src/services/api/mediafiles/upload.service.dart';
|
||||
import 'package:twonly/src/services/api/messages.dart';
|
||||
import 'package:twonly/src/services/api/server_messages.dart';
|
||||
import 'package:twonly/src/services/api/utils.dart';
|
||||
|
|
@ -319,6 +320,12 @@ class ApiService {
|
|||
return user;
|
||||
});
|
||||
globalCallbackUpdatePlan(planFromString(authenticated.plan));
|
||||
|
||||
// this was triggered by apiService.ipaPurchase, so call the onAuthenticated again
|
||||
if (isAuthenticated) {
|
||||
// Trigger the re-upload from images, after Plan change, in case the limit was reached before...
|
||||
unawaited(finishStartedPreprocessing());
|
||||
}
|
||||
}
|
||||
}
|
||||
if (res.isError) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue