Fix for `View class androidx.appcompat.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).`

Main ApplicationActivity needs to use AppCompat theme.

Fix for `android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{me.lucky.wasted/me.lucky.wasted.trigger.application.ApplicationActivity}`
  Main ApplicationActivity was not enabled.
This commit is contained in:
Randy W 2022-12-22 11:38:38 +07:00
parent f086d52bec
commit f9892e5182
1 changed files with 2 additions and 3 deletions

View File

@ -161,8 +161,7 @@
android:name=".trigger.application.ApplicationActivity"
android:taskAffinity=".trigger.application"
android:noHistory="true"
android:theme="@android:style/Theme.NoDisplay"
android:enabled="false"
android:theme="@style/Base.Theme.AppCompat"
android:exported="false">
</activity>