Closed ked4ma closed 1 year ago
Our policy for inset padding is this. Do you have any idea why it doesn't work? https://github.com/DroidKaigi/conference-app-2023/pull/959#discussion_r1306396623
211 tests 211 :heavy_check_mark: 8m 45s :stopwatch: 11 suites 0 :zzz: 11 files 0 :x:
Results for commit 8a19b25c.
@takahirom
Our policy for inset padding is this. Do you have any idea why it doesn't work? #959 (comment)
I this it's because ContributorScreen
is not in the mainNestedGraph
now.
In #959, contentPadding
is passed from mainNestedGraph
and had been using it for showing ContributorScreen
.
But now, this is moved into the KaigiNavHost
func.
And this func doesn't have padding information so ContributorScreen
will use default PaddingValues
.
By default, PaddingValues
have 0dp
for horizontal and vertical.
As a result, I think how to do padding was changed :thinking:
I've checked this approach is used in some screens! Thanks 🙏
Issue
Overview (Required)
Links
Screenshot (Optional if screenshot test is present or unrelated to UI)