Skip to content

Commit c701070

Browse files
committed
add horizontal inset
1 parent fc4ebfd commit c701070

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

modules/features/podcasts/src/main/java/au/com/shiftyjelly/pocketcasts/podcasts/view/folders/SuggestedFoldersPaywallBottomSheet.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ import android.view.View
66
import android.view.ViewGroup
77
import android.widget.FrameLayout
88
import androidx.core.view.doOnLayout
9+
import androidx.fragment.compose.content
910
import au.com.shiftyjelly.pocketcasts.compose.AppTheme
10-
import au.com.shiftyjelly.pocketcasts.compose.extensions.contentWithoutConsumedInsets
1111
import au.com.shiftyjelly.pocketcasts.settings.onboarding.OnboardingFlow
1212
import au.com.shiftyjelly.pocketcasts.settings.onboarding.OnboardingLauncher
1313
import au.com.shiftyjelly.pocketcasts.settings.onboarding.OnboardingUpgradeSource
1414
import au.com.shiftyjelly.pocketcasts.ui.theme.Theme
15+
import au.com.shiftyjelly.pocketcasts.views.extensions.setSystemWindowInsetToPadding
1516
import com.google.android.material.bottomsheet.BottomSheetBehavior
1617
import com.google.android.material.bottomsheet.BottomSheetDialog
1718
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
@@ -28,7 +29,7 @@ class SuggestedFoldersPaywallBottomSheet : BottomSheetDialogFragment() {
2829
inflater: LayoutInflater,
2930
container: ViewGroup?,
3031
savedInstanceState: Bundle?,
31-
) = contentWithoutConsumedInsets {
32+
) = content {
3233
AppTheme(theme.activeTheme) {
3334
SuggestedFoldersPaywall(
3435
onUseTheseFolders = {
@@ -58,5 +59,6 @@ class SuggestedFoldersPaywallBottomSheet : BottomSheetDialogFragment() {
5859
}
5960
}
6061
}
62+
view.setSystemWindowInsetToPadding(right = true, left = true)
6163
}
6264
}

modules/features/podcasts/src/main/java/au/com/shiftyjelly/pocketcasts/podcasts/view/podcasts/PodcastsFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ import au.com.shiftyjelly.pocketcasts.podcasts.view.folders.FolderCreateFragment
3030
import au.com.shiftyjelly.pocketcasts.podcasts.view.folders.FolderCreateSharedViewModel
3131
import au.com.shiftyjelly.pocketcasts.podcasts.view.folders.FolderEditFragment
3232
import au.com.shiftyjelly.pocketcasts.podcasts.view.folders.FolderEditPodcastsFragment
33-
import au.com.shiftyjelly.pocketcasts.podcasts.view.folders.SuggestedFoldersPaywallBottomSheet
3433
import au.com.shiftyjelly.pocketcasts.podcasts.view.folders.SuggestedFolders
34+
import au.com.shiftyjelly.pocketcasts.podcasts.view.folders.SuggestedFoldersPaywallBottomSheet
3535
import au.com.shiftyjelly.pocketcasts.podcasts.view.podcast.PodcastFragment
3636
import au.com.shiftyjelly.pocketcasts.podcasts.viewmodel.PodcastsViewModel
3737
import au.com.shiftyjelly.pocketcasts.preferences.Settings

modules/services/localization/src/main/res/values/strings.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2327,10 +2327,5 @@
23272327
<string name="folder_content_description">Folder %s</string>
23282328
<string name="suggested_folders_paywall_tittle">Your podcasts, automatically organized</string>
23292329
<string name="suggested_folders_paywall_subtitle">We\'ve pre-made folders for your podcasts. Unlock this and features like bookmarks, transcripts, and more with Pocket Casts Plus.</string>
2330-
<<<<<<< HEAD
2331-
=======
2332-
<string name="suggested_folders_use_these_folders_button">Use these folders</string>
2333-
<string name="folder_content_description">Folder %s</string>
2334-
>>>>>>> 7bc169f6e (improve accessibility)
23352330

23362331
</resources>

0 commit comments

Comments
 (0)