Added 'go back' functionality and fileinfos to Fileviewer

This commit is contained in:
2023-02-26 22:24:37 +01:00
parent 0ab44e3046
commit f31f667fd9
6 changed files with 101 additions and 95 deletions

View File

@ -1,5 +1,4 @@
import 'dart:convert';
import 'dart:developer';
import 'package:marianum_mobile/api/apiRequest.dart';
import 'package:http/http.dart' as http;
import 'package:marianum_mobile/api/webuntis/webuntisError.dart';
@ -53,7 +52,6 @@ abstract class WebuntisApi extends ApiRequest {
}
Future<http.Response> post(String data, Map<String, String>? headers) async {
log("POST: $endpoint\n$data");
return await http
.post(endpoint, body: data, headers: headers)
.timeout(