Commit 2bad055
committed
fix: remove duplicate AppInfo data class causing build failure
Build Error Fixed:
- Removed duplicate AppInfo declaration in SystemModels.kt
- AppInfo is already defined in AppModels.kt with correct fields
- This caused Kotlin compilation error: "Redeclaration: AppInfo"
Root Cause:
- During optimization, accidentally added AppInfo to SystemModels.kt
- AppInfo should only be in AppModels.kt (app-related models)
- SystemModels.kt should only contain system stats models
Files Modified:
- app/src/main/java/com/appcontrolx/model/SystemModels.kt
- Removed duplicate AppInfo data class
- Kept SystemStats and related system models
Build Status:
- Kotlin compilation should now succeed
- No more redeclaration errors
- All models properly separated1 parent e2f2973 commit 2bad055
1 file changed
Lines changed: 0 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 5 | | |
22 | 6 | | |
23 | 7 | | |
| |||
0 commit comments