simplified code across the app and consolidated duplicated helpers

This commit is contained in:
2026-09-27 17:29:54 +02:00
parent 3e856d0b1c
commit ee1240f71a
155 changed files with 1772 additions and 2546 deletions
+1 -2
View File
@@ -258,10 +258,9 @@ class PushRegistration {
/// Flutter engine. Best-effort — a failure here must not abort registration.
Future<void> _persistNativeAuthContext() async {
try {
final endpoint = EndpointData().nextcloud();
await _store.saveNativeAuthContext(
username: SessionManager().requireNextcloud().username,
baseUrl: 'https://${endpoint.full()}',
baseUrl: currentNcBaseUrl,
);
} on Object catch (e) {
log('Push: could not persist native auth context: $e');