Skip to content

Commit

Permalink
Don't use dark theme in about page
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker1024 committed Apr 15, 2018
1 parent 6373572 commit dd9110c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/tk/superl2/xwifi/AboutActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ import android.net.Uri
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.preference.PreferenceManager
import android.support.v7.app.AppCompatDelegate
import android.view.View
import husaynhakeem.com.aboutpage.AboutPage
import husaynhakeem.com.aboutpage.Item

class AboutActivity: AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
setThemeFromSharedPrefs(PreferenceManager.getDefaultSharedPreferences(this))
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO)
super.onCreate(savedInstanceState)
setContentView(AboutPage(this)
.setImage(R.mipmap.ic_launcher)
Expand Down

0 comments on commit dd9110c

Please sign in to comment.