mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
Remove DefaultSharedPreferences
since we now have @DefaultPreferences which provide a singleton.
Some fun has been moved to injectable classes due to this change. Not compiling, still work to do, but I prefer to split into 2 separate commits.
This commit is contained in:
parent
5736c8f648
commit
b4494ee8ea
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class ServerUrlsRepository @Inject constructor(
|
|||
/**
|
||||
* Return true if url is the default homeserver url form resources.
|
||||
*/
|
||||
fun isDefaultHomeServerUrl(context: Context, url: String) = url == getDefaultHomeServerUrl()
|
||||
fun isDefaultHomeServerUrl(url: String) = url == getDefaultHomeServerUrl()
|
||||
|
||||
/**
|
||||
* Return default homeserver url from resources.
|
||||
|
|
Loading…
Reference in a new issue