Commit f5405c4
committed
Refactor: Simplify app rename logic in AppDrawerAdapter
The `activityLabel` variable is now declared once and reused within the app renaming logic in `AppDrawerAdapter.kt`. This avoids repeatedly calculating the same value inside the `onTextChanged` listener, simplifying the code.1 parent ba8c3c7 commit f5405c4
File tree
1 file changed
+2
-2
lines changed- app/src/main/java/com/github/codeworkscreativehub/mlauncher/ui/adapter
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
| 430 | + | |
430 | 431 | | |
431 | 432 | | |
432 | 433 | | |
433 | 434 | | |
434 | 435 | | |
435 | | - | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
0 commit comments