2021-07-09 03:14:21 +02:00
|
|
|
package org.thoughtcrime.securesms.preferences
|
2020-01-09 04:15:43 +01:00
|
|
|
|
|
|
|
import android.os.Bundle
|
2023-07-26 07:06:06 +02:00
|
|
|
import dagger.hilt.android.AndroidEntryPoint
|
2020-01-09 04:15:43 +01:00
|
|
|
import network.loki.messenger.R
|
|
|
|
import org.thoughtcrime.securesms.PassphraseRequiredActionBarActivity
|
|
|
|
import org.thoughtcrime.securesms.preferences.NotificationsPreferenceFragment
|
|
|
|
|
2023-07-26 07:06:06 +02:00
|
|
|
@AndroidEntryPoint
|
2020-01-09 04:15:43 +01:00
|
|
|
class NotificationSettingsActivity : PassphraseRequiredActionBarActivity() {
|
|
|
|
|
|
|
|
override fun onCreate(savedInstanceState: Bundle?, isReady: Boolean) {
|
|
|
|
super.onCreate(savedInstanceState, isReady)
|
|
|
|
setContentView(R.layout.activity_fragment_wrapper)
|
2020-05-25 09:11:15 +02:00
|
|
|
supportActionBar!!.title = resources.getString(R.string.activity_notification_settings_title)
|
2020-01-09 04:15:43 +01:00
|
|
|
val fragment = NotificationsPreferenceFragment()
|
|
|
|
val transaction = supportFragmentManager.beginTransaction()
|
|
|
|
transaction.replace(R.id.fragmentContainer, fragment)
|
|
|
|
transaction.commit()
|
|
|
|
}
|
|
|
|
}
|