From 5c84b2fb590e744a36b663f7dc54bc341790be58 Mon Sep 17 00:00:00 2001 From: Leonyx Date: Sat, 2 Aug 2025 03:10:13 +0200 Subject: [PATCH] commit to branch --- CHALLENGE_2/sleepysound/lib/main.dart | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/CHALLENGE_2/sleepysound/lib/main.dart b/CHALLENGE_2/sleepysound/lib/main.dart index 6356097..ee52f93 100644 --- a/CHALLENGE_2/sleepysound/lib/main.dart +++ b/CHALLENGE_2/sleepysound/lib/main.dart @@ -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 { ), 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 { case 0: return 'Now Playing'; case 1: - return 'Library'; + return 'Voting'; case 2: - return 'Settings'; + return 'Group'; default: return 'Now Playing'; }