Forráskód Böngészése

Remove unused setter

Vishnu Mohandas 4 éve
szülő
commit
ccd160bcbc
1 módosított fájl, 0 hozzáadás és 4 törlés
  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);