commit to branch

This commit is contained in:
Leon Astner 2025-08-02 03:10:13 +02:00
parent 0749836d17
commit 5c84b2fb59

View file

@ -16,21 +16,7 @@ class MyApp extends StatelessWidget {
return MaterialApp( return MaterialApp(
title: 'SleepySound', title: 'SleepySound',
theme: ThemeData( theme: ThemeData(
// This is the theme of your application.
//
// TRY THIS: Try running your application with "flutter run". You'll see
// the application has a purple toolbar. Then, without quitting the app,
// try changing the seedColor in the colorScheme below to Colors.green
// and then invoke "hot reload" (save your changes or press the "hot
// reload" button in a Flutter-supported IDE, or press "r" if you used
// the command line to start the app).
//
// Notice that the counter didn't reset back to zero; the application
// state is not lost during the reload. To reset the state, use hot
// restart instead.
//
// This works for code too, not just values: Most code changes can be
// tested with just a hot reload.
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
), ),
home: const MyHomePage(title: 'Now Playing'), home: const MyHomePage(title: 'Now Playing'),
@ -84,11 +70,11 @@ class _MyHomePageState extends State<MyHomePage> {
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.library_music), icon: Icon(Icons.library_music),
label: 'Library', label: 'Voting',
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
icon: Icon(Icons.settings), icon: Icon(Icons.group),
label: 'Settings', label: 'Group',
), ),
], ],
currentIndex: _selectedIndex, currentIndex: _selectedIndex,
@ -103,9 +89,9 @@ class _MyHomePageState extends State<MyHomePage> {
case 0: case 0:
return 'Now Playing'; return 'Now Playing';
case 1: case 1:
return 'Library'; return 'Voting';
case 2: case 2:
return 'Settings'; return 'Group';
default: default:
return 'Now Playing'; return 'Now Playing';
} }