Skip to content

Commit

Permalink
feat: Enable edge to edge
Browse files Browse the repository at this point in the history
  • Loading branch information
kongwoojin committed Jun 8, 2024
1 parent 276a147 commit 4126d71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<activity
android:name=".ui.main.MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustResize"
android:theme="@style/Theme.KoreatechBoard.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import android.util.Log
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.activity.viewModels
import androidx.browser.customtabs.CustomTabsIntent
import androidx.compose.foundation.isSystemInDarkTheme
Expand Down Expand Up @@ -64,6 +65,8 @@ class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)

enableEdgeToEdge()

val crashlytics = Firebase.crashlytics
crashlytics.setCustomKeys {
key("build_type", BuildConfig.BUILD_TYPE)
Expand Down

0 comments on commit 4126d71

Please sign in to comment.