Files
Kifi/scratch/patch_dashboard_tabs.py

10 lines
329 B
Python

import re
with open('kifi-app/lib/features/dashboard/presentation/dashboard_screen.dart', 'r') as f:
content = f.read()
# We need to replace the `IndexedStack` and `BottomNavigationBar` with a simpler mapping
# But wait, building lists inside `build` is better.
# However, the `Scaffold` body contains the `IndexedStack`.