Skip to content

Commit

Permalink
Bump targetSdkVersion to 33
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaniskandar committed Apr 2, 2024
1 parent 0d5b867 commit 3742f17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {
defaultConfig {
applicationId "xyz.ivaniskandar.shouko"
minSdkVersion 29
targetSdkVersion 32
targetSdkVersion 33
versionCode 9
versionName "0.8.0"
resConfigs 'en', 'ja', 'ru', 'de'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
WindowCompat.setDecorFitsSystemWindows(window, false)

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
requestPermissions(arrayOf(Manifest.permission.POST_NOTIFICATIONS), 1001)
}

setContent {
val sheetState = rememberModalBottomSheetState(
initialValue = ModalBottomSheetValue.Hidden,
Expand Down

0 comments on commit 3742f17

Please sign in to comment.