Vishnu Mohandas 4 лет назад
Родитель
Сommit
ccd160bcbc
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      lib/core/configuration.dart

+ 0 - 4
lib/core/configuration.dart

@@ -187,10 +187,6 @@ class Configuration {
     return "https://api.ente.io";
   }
 
-  Future<void> setEndpoint(String endpoint) async {
-    await _preferences.setString(endpointKey, endpoint);
-  }
-
   String getToken() {
     if (_cachedToken == null) {
       _cachedToken = _preferences.getString(tokenKey);