Skip to content

Commit

Permalink
Merge pull request #925 from Corvus400/bug/add_bottom_padding_for_kmp…
Browse files Browse the repository at this point in the history
…_profile_card_screen

🔧 [iOS・Compose Multiplatform] The issue where the bottom navigation overlapped with the Create Profile button and made it difficult to press has been fixed.
  • Loading branch information
takahirom authored Sep 3, 2024
2 parents 5bca9d8 + 21566bc commit 78b5b8a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package io.github.droidkaigi.confsched.profilecard

import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.ui.unit.dp
import io.github.droidkaigi.confsched.compose.EventFlow
import io.github.droidkaigi.confsched.data.Repositories
import io.github.droidkaigi.confsched.droidkaigiui.composeViewController
Expand All @@ -22,6 +24,10 @@ fun profileCardViewController(
imageBitmap.toUiImage() ?: UIImage(),
)
},
// FIXME This is a workaround. For permanent support, we will get the inset value etc. from the iOS side and respond.
contentPadding = PaddingValues(
bottom = 30.dp, // Height of bottom tab bar
),
)
}

Expand Down

0 comments on commit 78b5b8a

Please sign in to comment.