Skip to content

Commit

Permalink
chore: fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rnr committed Dec 13, 2024
1 parent f37d623 commit e3512c8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions OpenEdX/View/MainScreenView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import Profile
import WhatsNew
import SwiftUIIntrospect
import Theme
import OEXFoundation

struct MainScreenView: View {

Expand Down Expand Up @@ -208,11 +209,7 @@ struct MainScreenView: View {
private var registerBanner: some View {
if viewModel.showRegisterBanner {
VStack {
SnackBarView(
message: viewModel.registerBannerText,
textColor: Theme.Colors.primaryButtonTextColor,
bgColor: Theme.Colors.accentColor
)
SnackBarView(message: viewModel.registerBannerText)
Spacer()
}.transition(.move(edge: .top))
.onAppear {
Expand Down

0 comments on commit e3512c8

Please sign in to comment.