Browse Source

Remove unused setter

Vishnu Mohandas 4 năm trước cách đây
mục cha
commit
ccd160bcbc
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  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);