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(
title: 'SleepySound',
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),
),
home: const MyHomePage(title: 'Now Playing'),
@ -84,11 +70,11 @@ class _MyHomePageState extends State<MyHomePage> {
),
BottomNavigationBarItem(
icon: Icon(Icons.library_music),
label: 'Library',
label: 'Voting',
),
BottomNavigationBarItem(
icon: Icon(Icons.settings),
label: 'Settings',
icon: Icon(Icons.group),
label: 'Group',
),
],
currentIndex: _selectedIndex,
@ -103,9 +89,9 @@ class _MyHomePageState extends State<MyHomePage> {
case 0:
return 'Now Playing';
case 1:
return 'Library';
return 'Voting';
case 2:
return 'Settings';
return 'Group';
default:
return 'Now Playing';
}