|
@@ -13,6 +13,7 @@ import com.blankj.utilcode.util.PathUtils
|
|
|
import com.blankj.utilcode.util.ResourceUtils
|
|
|
import com.blankj.utilcode.util.Utils
|
|
|
import com.develop.base.app.BaseApp
|
|
|
+import com.develop.base.ext.getBrandNum
|
|
|
import com.develop.base.ext.isNightTheme
|
|
|
import com.develop.base.ext.setNightTheme
|
|
|
import com.develop.base.util.MMkvUtils
|
|
@@ -78,6 +79,7 @@ class FoodCookingApp : BaseApp() {
|
|
|
//切换主题,theme=0 night= false 是0000的主题,而且需要AndroidManifest.xml主题设置为 android:theme="@style/SplashTheme"
|
|
|
ThemeSkinService.getInstance().switchThemeSkin(1)
|
|
|
setNightTheme(true)
|
|
|
+ CofarSDK.init(getBrandNum())
|
|
|
SerialPortUtils.init()
|
|
|
CofarSDK.register(this)
|
|
|
CofarSDK.stopNative()
|