mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-09 16:33:39 +00:00
19 lines
815 B
Kotlin
19 lines
815 B
Kotlin
package org.thoughtcrime.securesms.loki.activities
|
|
|
|
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)
|
|
supportActionBar!!.title = resources.getString(R.string.activity_chat_settings_title)
|
|
val fragment = ChatsPreferenceFragment()
|
|
val transaction = supportFragmentManager.beginTransaction()
|
|
transaction.replace(R.id.fragmentContainer, fragment)
|
|
transaction.commit()
|
|
}
|
|
} |