File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,10 +223,6 @@ fun changeResourceFiles(name: String) {
223223 oldValue = " Theme.ComposeAndroidTemplate" ,
224224 newValue = " Theme.$name "
225225 )
226- themesFile.replace(
227- oldValue = " <item name=\" postSplashScreenTheme\" >@style/Theme.ComposeAndroidTemplate</item>" ,
228- newValue = " <item name=\" postSplashScreenTheme\" >@style/Theme.$name </item>"
229- )
230226 }
231227
232228 // Update strings.xml file
@@ -247,7 +243,11 @@ fun changeResourceFiles(name: String) {
247243 .forEach { splashFile ->
248244 splashFile.replace(
249245 oldValue = " Theme.ComposeAndroidTemplate.Starting" ,
250- newValue = " Theme.${name} .Starting"
246+ newValue = " Theme.$name .Starting"
247+ )
248+ splashFile.replace(
249+ oldValue = " Theme.ComposeAndroidTemplate" ,
250+ newValue = " Theme.$name "
251251 )
252252 }
253253}
You can’t perform that action at this time.
0 commit comments