Commit 4089bb9f authored by Lucio Maciel's avatar Lucio Maciel

Move consts to a companion object

parent d51280e7
......@@ -21,6 +21,8 @@ class SharedPreferencesSettingsRepository(private val localRespository: LocalRep
return null
}
}
const val SETTINGS_KEY = "settings_"
\ No newline at end of file
companion object {
private const val SETTINGS_KEY = "settings_"
}
}
\ No newline at end of file
......@@ -13,6 +13,7 @@ class SharedPrefsCurrentServerRepository(private val preferences: SharedPreferen
return preferences.getString(CURRENT_SERVER_KEY, null)
}
}
const val CURRENT_SERVER_KEY = "current_server"
\ No newline at end of file
companion object {
private const val CURRENT_SERVER_KEY = "current_server"
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment