File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
33 xmlns : tools =" http://schemas.android.com/tools" >
44
5+ <permission android : name =" androidx.permission.INTERNET" />
6+
57 <application
8+ android : name =" .DebateTimerApp"
69 android : allowBackup =" true"
710 android : dataExtractionRules =" @xml/data_extraction_rules"
811 android : fullBackupContent =" @xml/backup_rules"
1114 android : roundIcon =" @mipmap/ic_launcher_round"
1215 android : supportsRtl =" true"
1316 android : theme =" @style/Theme.DebateTimer" >
17+
1418 <activity
1519 android : name =" .MainActivity"
1620 android : exported =" true"
17- android : label =" @string/app_name"
1821 android : theme =" @style/Theme.DebateTimer" >
1922 <intent-filter >
2023 <action android : name =" android.intent.action.MAIN" />
Original file line number Diff line number Diff line change 11package com.debatetimer.app
22
3+ import android.app.Application
34import android.os.Bundle
45import androidx.activity.ComponentActivity
56import androidx.activity.compose.setContent
@@ -12,7 +13,13 @@ import androidx.compose.runtime.Composable
1213import androidx.compose.ui.Modifier
1314import androidx.compose.ui.tooling.preview.Preview
1415import com.debatetimer.app.ui.theme.DebateTimerTheme
16+ import dagger.hilt.android.AndroidEntryPoint
17+ import dagger.hilt.android.HiltAndroidApp
1518
19+ @HiltAndroidApp
20+ class DebateTimerApp : Application ()
21+
22+ @AndroidEntryPoint
1623class MainActivity : ComponentActivity () {
1724 override fun onCreate (savedInstanceState : Bundle ? ) {
1825 super .onCreate(savedInstanceState)
You can’t perform that action at this time.
0 commit comments