Compare commits
7 Commits
olajcsere-
...
v5.1.6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
125453c8ab | ||
|
|
9a018c6f37 | ||
|
|
b107a9a800 | ||
|
|
ed5f1d3e05 | ||
|
|
c1d9da6c58 | ||
|
|
ef6aa0142b | ||
|
|
a0336b9122 |
@@ -149,7 +149,7 @@ dependencies {
|
||||
implementation 'joda-time:joda-time:2.9.4'
|
||||
androidTestImplementation 'androidx.test:runner:1.1.1'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
|
||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
|
||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
|
||||
implementation 'androidx.window:window:1.0.0'
|
||||
implementation 'androidx.window:window-java:1.0.0'
|
||||
}
|
||||
|
||||
@@ -34,13 +34,13 @@ import 'package:connectivity_plus/connectivity_plus.dart';
|
||||
|
||||
class FilcAPI {
|
||||
// base url
|
||||
static const baseUrl = "https://firka.app/api/v1";
|
||||
static const baseUrl = "https://api.firka.app/api/v1";
|
||||
|
||||
// unused schools list
|
||||
static const schoolList = "0.0.0.0";
|
||||
|
||||
// news endpoint
|
||||
static const news = "$baseUrl/news/";
|
||||
static const news = "$baseUrl/news/legacy";
|
||||
|
||||
// analytics endpoint
|
||||
static const config = "$baseUrl/config/";
|
||||
|
||||
@@ -42,7 +42,7 @@ class StatusProvider extends ChangeNotifier {
|
||||
|
||||
void _handleDNSFailure() {
|
||||
try {
|
||||
InternetAddress.lookup('api.refilc.hu').then((status) {
|
||||
InternetAddress.lookup('firka.app').then((status) { // koszonjuk klima a hardcoded checket
|
||||
if (status.isEmpty) {
|
||||
if (!_stack.contains(Status.network)) {
|
||||
_stack.remove(Status.apiError);
|
||||
|
||||
@@ -34,7 +34,7 @@ dependencies:
|
||||
html: ^0.15.5
|
||||
open_filex: ^4.6.0
|
||||
path_provider: ^2.1.5
|
||||
permission_handler: ^11.3.1
|
||||
permission_handler: ^12.0.0
|
||||
share_plus: ^10.1.4
|
||||
connectivity_plus: ^6.1.3
|
||||
flutter_displaymode: ^0.6.0
|
||||
|
||||
Reference in New Issue
Block a user