فهرست منبع

Remove unused setter

Vishnu Mohandas 4 سال پیش
والد
کامیت
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);