File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/main/java/tk/superl2/xwifi Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,14 @@ import android.net.Uri
5
5
import android.support.v7.app.AppCompatActivity
6
6
import android.os.Bundle
7
7
import android.preference.PreferenceManager
8
+ import android.support.v7.app.AppCompatDelegate
8
9
import android.view.View
9
10
import husaynhakeem.com.aboutpage.AboutPage
10
11
import husaynhakeem.com.aboutpage.Item
11
12
12
13
class AboutActivity : AppCompatActivity () {
13
14
override fun onCreate (savedInstanceState : Bundle ? ) {
14
- setThemeFromSharedPrefs( PreferenceManager .getDefaultSharedPreferences( this ) )
15
+ AppCompatDelegate .setDefaultNightMode( AppCompatDelegate . MODE_NIGHT_NO )
15
16
super .onCreate(savedInstanceState)
16
17
setContentView(AboutPage (this )
17
18
.setImage(R .mipmap.ic_launcher)
You can’t perform that action at this time.
0 commit comments