Added if statement in application onCreate()

This commit is contained in:
merkost 2023-05-30 16:17:22 +10:00
parent fa4e38e94e
commit b14ad588d3
1 changed files with 4 additions and 1 deletions

View File

@ -4,11 +4,14 @@ import android.app.Application
import androidx.emoji2.bundled.BundledEmojiCompatConfig
import androidx.emoji2.text.EmojiCompat
import com.simplemobiletools.commons.extensions.checkUseEnglish
import com.simplemobiletools.keyboard.extensions.isDeviceLocked
class App : Application() {
override fun onCreate() {
super.onCreate()
if (!isDeviceLocked) {
checkUseEnglish()
}
setupEmojiCompat()
}