Skip to content

Commit

Permalink
fix: BuildConfig and ResId issues
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Niedermann <[email protected]>
  • Loading branch information
stefan-niedermann committed Jan 19, 2024
1 parent d244d8a commit 99b5cf9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 28 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ android {
}
buildFeatures {
viewBinding true
buildConfig true
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,15 @@ public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
mBottomSheetBehaviour.setDraggable(true);
mBottomSheetBehaviour.setHideable(true);
mBottomSheetBehaviour.setState(STATE_HIDDEN);
mBottomSheetBehaviour.addBottomSheetCallback(new CardAttachmentsBottomsheetBehaviorCallback(requireContext(), backPressedCallback, binding.fab, binding.pickerBackdrop, binding.bottomNavigation, R.color.mdtp_transparent_black, android.R.color.transparent, R.dimen.attachments_bottom_navigation_height));
mBottomSheetBehaviour.addBottomSheetCallback(new CardAttachmentsBottomsheetBehaviorCallback(
requireContext(),
backPressedCallback,
binding.fab,
binding.pickerBackdrop,
binding.bottomNavigation,
R.color.bottom_sheet_backdrop,
android.R.color.transparent,
R.dimen.attachments_bottom_navigation_height));
binding.pickerBackdrop.setOnClickListener(v -> mBottomSheetBehaviour.setState(STATE_HIDDEN));

final var displayMetrics = getResources().getDisplayMetrics();
Expand Down

This file was deleted.

1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<!-- TODO REMOVE -->
<!-- ======================================= -->

<color name="bottom_sheet_backdrop">#7f000000</color>
<color name="grey600">#757575</color>
<color name="fg_secondary">#999</color>
<color name="bg_highlighted">#eee</color>
Expand Down

0 comments on commit 99b5cf9

Please sign in to comment.