File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
java/org/wordpress/android/ui/reader Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 553
553
android : theme =" @style/WordPress.NoActionBar" />
554
554
<activity
555
555
android : name =" .ui.reader.ReaderSubsActivity"
556
- android : label =" @string/reader_title_subs"
557
556
android : theme =" @style/WordPress.NoActionBar"
558
557
android : windowSoftInputMode =" stateHidden" />
559
558
<activity
565
564
android : theme =" @style/ReaderMediaViewerTheme" />
566
565
<activity
567
566
android : name =" .ui.reader.discover.interests.ReaderInterestsActivity"
568
- android : label =" @string/reader_title_interests"
569
567
android : theme =" @style/WordPress.NoActionBar" />
570
568
571
569
<!-- Gutenberg activities -->
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ protected void onCreate(Bundle savedInstanceState) {
106
106
107
107
Toolbar toolbar = findViewById (R .id .toolbar_main );
108
108
if (toolbar != null ) {
109
+ toolbar .setTitle (R .string .reader_title_subs );
109
110
setSupportActionBar (toolbar );
110
111
toolbar .setNavigationOnClickListener (v -> onBackPressed ());
111
112
}
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ package org.wordpress.android.ui.reader.discover.interests
2
2
3
3
import android.os.Bundle
4
4
import android.view.MenuItem
5
- import androidx.appcompat.app.AppCompatActivity
5
+ import org.wordpress.android.R
6
6
import org.wordpress.android.databinding.ReaderInterestsActivityBinding
7
+ import org.wordpress.android.ui.LocaleAwareActivity
7
8
8
- class ReaderInterestsActivity : AppCompatActivity () {
9
+ class ReaderInterestsActivity : LocaleAwareActivity () {
9
10
override fun onCreate (savedInstanceState : Bundle ? ) {
10
11
super .onCreate(savedInstanceState)
11
12
@@ -16,6 +17,7 @@ class ReaderInterestsActivity : AppCompatActivity() {
16
17
supportActionBar?.let {
17
18
it.setHomeButtonEnabled(true )
18
19
it.setDisplayHomeAsUpEnabled(true )
20
+ it.title = getString(R .string.reader_title_interests)
19
21
}
20
22
}
21
23
@@ -26,4 +28,8 @@ class ReaderInterestsActivity : AppCompatActivity() {
26
28
}
27
29
return super .onOptionsItemSelected(item)
28
30
}
31
+
32
+ override fun onResume () {
33
+ super .onResume()
34
+ }
29
35
}
You can’t perform that action at this time.
0 commit comments