2020-05-11 16:19:26 +10:00
|
|
|
package org.thoughtcrime.securesms.loki.activities
|
2020-01-09 14:15:43 +11:00
|
|
|
|
|
|
|
import android.os.Bundle
|
|
|
|
import network.loki.messenger.R
|
|
|
|
import org.thoughtcrime.securesms.PassphraseRequiredActionBarActivity
|
|
|
|
import org.thoughtcrime.securesms.preferences.ChatsPreferenceFragment
|
|
|
|
|
|
|
|
class ChatSettingsActivity : PassphraseRequiredActionBarActivity() {
|
|
|
|
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?, isReady: Boolean) {
|
|
|
|
super.onCreate(savedInstanceState, isReady)
|
|
|
|
setContentView(R.layout.activity_fragment_wrapper)
|
2020-05-25 17:11:15 +10:00
|
|
|
supportActionBar!!.title = resources.getString(R.string.activity_chat_settings_title)
|
2020-01-09 14:15:43 +11:00
|
|
|
val fragment = ChatsPreferenceFragment()
|
|
|
|
val transaction = supportFragmentManager.beginTransaction()
|
|
|
|
transaction.replace(R.id.fragmentContainer, fragment)
|
|
|
|
transaction.commit()
|
|
|
|
}
|
|
|
|
}
|