Bimba.git

ref: b8289bc2614da6b202a3eaa29daf2ed00c65594d

app/src/main/java/ml/adamsprogs/bimba/activities/SplashActivity.kt


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
package ml.adamsprogs.bimba.activities

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.app.AppCompatDelegate


class SplashActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO)
        startActivity(Intent(this, DashActivity::class.java))
        finish()
    }
}