mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-20 21:59:03 +02:00
feat: introduce XtreamServiceMobile for IPTV API interactions and DnsFallbackInterceptor for network robustness.
This commit is contained in:
1 parent
332295a57a
commit
2406b9b100
16 files changed
+1693
-399
No files matched your search
@@ -9,7 +9,7 @@ class SettingsApiService {
|
||||
// Restore token from localStorage before making the request
|
||||
_api.restoreToken();
|
||||
|
||||
if (_api.getStoredToken() == null) {
|
||||
if (_api.getToken() == null) {
|
||||
print('[SettingsAPI] getSettings: No auth token found');
|
||||
return null;
|
||||
}
|
||||
@@ -38,7 +38,7 @@ class SettingsApiService {
|
||||
// Restore token from localStorage before making the request
|
||||
_api.restoreToken();
|
||||
|
||||
if (_api.getStoredToken() == null) {
|
||||
if (_api.getToken() == null) {
|
||||
print('[SettingsAPI] saveSettings: No auth token found');
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user