Skip to content
Snippets Groups Projects
Commit ae84f777 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

cleanup

Change-Id: Ie5bd6d0f5e86cba751338036b2ba74820e34a0a1
parent a4eccf7a
No related branches found
No related tags found
No related merge requests found
......@@ -39,10 +39,7 @@ class PluginsListSettingsFragment : Fragment(), PluginListItemListener {
private var binding: FragPluginsListSettingsBinding? = null
private var mAdapter: PluginsListAdapter? = null
private val mCompositeDisposable = CompositeDisposable()
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
binding = FragPluginsListSettingsBinding.inflate(inflater, container, false)
// use this setting to improve performance if you know that changes
......@@ -54,7 +51,7 @@ class PluginsListSettingsFragment : Fragment(), PluginListItemListener {
binding!!.pluginsList.adapter = mAdapter
//Fab
binding!!.pluginsListSettingsFab.setOnClickListener { view: View? ->
binding!!.pluginsListSettingsFab.setOnClickListener {
val intent = Intent(Intent.ACTION_OPEN_DOCUMENT)
intent.addCategory(Intent.CATEGORY_OPENABLE)
intent.type = "*/*"
......
......@@ -246,7 +246,6 @@ class CallService(
}
fun hangUp(callId: String) {
Log.i(TAG, "hangUp() called... $callId", Exception())
mExecutor.execute {
Log.i(TAG, "hangUp() running... $callId")
JamiService.hangUp(callId)
......
......@@ -41,13 +41,13 @@ class AdvancedAccountPresenter @Inject constructor(
}
}
fun twoStatePreferenceChanged(configKey: ConfigKey?, newValue: Any) {
mAccount!!.setDetail(configKey!!, newValue.toString())
fun twoStatePreferenceChanged(configKey: ConfigKey, newValue: Any) {
mAccount!!.setDetail(configKey, newValue.toString())
updateAccount()
}
fun passwordPreferenceChanged(configKey: ConfigKey?, newValue: Any) {
mAccount!!.setDetail(configKey!!, newValue.toString())
fun passwordPreferenceChanged(configKey: ConfigKey, newValue: Any) {
mAccount!!.setDetail(configKey, newValue.toString())
updateAccount()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment