11package de.berlindroid.zepatch
22
3- import androidx.compose.foundation.text.BasicText
4- import androidx.compose.runtime.Composable
5- import de.berlindroid.zepatch.patchable.Demo
3+ import de.berlindroid.zepatch.generated.PatchRegistry
64
75/* *
86 * It's like Dagger, but way worse.
@@ -11,24 +9,5 @@ import de.berlindroid.zepatch.patchable.Demo
119 * hand-witten.
1210 */
1311
14- val patchables = mapOf<String , @Composable () - > Unit > (
15- " Testing1" to { BasicText (" 123" ) },
16- " Testing2" to { BasicText (" 123" ) },
17- " Testing3" to { BasicText (" 123" ) },
18- " Testing4" to { BasicText (" 123" ) },
19- " Testing5" to { BasicText (" 123" ) },
20- " Testing6" to { BasicText (" 123" ) },
21- " Testing7" to { BasicText (" 123" ) },
22- " Testing8" to { BasicText (" 123" ) },
23- " Testing9" to { BasicText (" 123" ) },
24- " Testing10" to { BasicText (" 123" ) },
25- " Testing11" to { BasicText (" 123" ) },
26- " Testing12" to { BasicText (" 123" ) },
27- " Testing13" to { BasicText (" 123" ) },
28- " Testing14" to { BasicText (" 123" ) },
29- " Testing15" to { BasicText (" 123" ) },
30- " Testing16" to { BasicText (" 123" ) },
31- " Testing17" to { BasicText (" 123" ) },
32- " Testing19" to { BasicText (" 123" ) },
33- " Demo" to { Demo () },
34- )
12+ // Generated via @Patch + KSP
13+ val patchables = PatchRegistry .patchables
0 commit comments