Skip to content

Commit 8ff3dbf

Browse files
authored
Fix dark mode for subject alert dialog (APPS-1785) (#212)
1 parent 52d2b8a commit 8ff3dbf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66
### Changed
77
### Removed
88
### Fixed
9+
* ui: subject dialog for external billing now works in dark mode
910

1011
## [0.75.7]
1112
### Added

ui/src/main/res/layout/snabble_subject_alert_dialog.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
android:gravity="center_horizontal"
1111
android:orientation="vertical"
1212
android:padding="16dp"
13+
android:backgroundTint="?attr/colorSurface"
1314
tools:theme="@style/Theme.AppCompat.DayNight.NoActionBar">
1415

1516
<TextView
@@ -45,7 +46,7 @@
4546

4647
<io.snabble.sdk.ui.remotetheme.SnabblePrimaryButton
4748
android:id="@+id/subject_add"
48-
style="@style/Snabble.ShapeAppearanceOverlay.RoundedCorners.Big"
49+
style="@style/Widget.Material3.Button"
4950
android:layout_width="match_parent"
5051
android:layout_height="wrap_content"
5152
android:enabled="false"

0 commit comments

Comments
 (0)