Skip to content

Commit 3577500

Browse files
Nwagba OkechukwuNwagba Okechukwu
authored andcommitted
refactor: renamed mediaControl theme back to videoControl
1 parent 2eac65a commit 3577500

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package/src/components/Attachment/Card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const CardWithContext = <
135135
theme: {
136136
colors: { accent_blue, black, blue_alice, transparent },
137137
imageGallery: {
138-
mediaControl: { roundedView },
138+
videoControl: { roundedView },
139139
},
140140
messageSimple: {
141141
card: {

package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const ImageGalleryVideoControl: React.FC<ImageGalleryFooterVideoControlPr
5656
const {
5757
theme: {
5858
imageGallery: {
59-
mediaControl: { durationTextStyle, roundedView, videoContainer },
59+
videoControl: { durationTextStyle, roundedView, videoContainer },
6060
},
6161
},
6262
} = useTheme();

package/src/contexts/themeContext/utils/theme.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export type Theme = {
196196
rightContainer: ViewStyle;
197197
usernameText: TextStyle;
198198
};
199-
mediaControl: {
199+
videoControl: {
200200
durationTextStyle: TextStyle;
201201
roundedView: ViewStyle;
202202
videoContainer: ViewStyle;
@@ -679,7 +679,7 @@ export const defaultTheme: Theme = {
679679
rightContainer: {},
680680
usernameText: {},
681681
},
682-
mediaControl: {
682+
videoControl: {
683683
durationTextStyle: {},
684684
roundedView: {},
685685
videoContainer: {},

0 commit comments

Comments
 (0)