aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/me/texx/Texx/Application.kt
blob: a3975440533696e7f271ed4c23360395bd7bc807 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package me.texx.Texx

import android.app.Application
import daio.io.dresscode.DressCode
import daio.io.dresscode.declareDressCode

/**
 * Main Application class mainly for handling themes
 */
class Application : Application() {
    /**
     * Set initial configuration
     */
    override fun onCreate() {
        super.onCreate()

        declareDressCode(this,
                DressCode("dark", R.style.AppTheme_Dark),
                DressCode("light", R.style.AppTheme))
    }
}