Some minor changes from review

This commit is contained in:
Arnfried Griesert
2024-02-29 15:23:06 +01:00
parent a618336e3f
commit 99329b326f
3 changed files with 5 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ struct IntroduceFederationScreen1: View {
Color(hex: 0xE3E8F0)
.frame(width: IntroduceFederationView.imageSize, height: IntroduceFederationView.imageSize)
.clipShape(Circle())
.padding(.leading, 76)
.padding(.leading, 50)
Image(uiImage: Asset.SharedImages.loginFlowLogo.image)
.resizable()
.aspectRatio(contentMode: .fill)
@@ -39,7 +39,7 @@ struct IntroduceFederationScreen1: View {
.background(Color(ThemeService.shared().theme.backgroundColor))
.clipShape(Circle())
.frame(width: IntroduceFederationView.imageSize + 12, height: IntroduceFederationView.imageSize + 12)
.padding(.trailing, 76)
.padding(.trailing, 50)
}
.padding(.bottom, 42)
Text(BWIL10n.introduceFederationScreen1Title)

View File

@@ -37,6 +37,7 @@ struct IntroduceFederationView: View {
.tabViewStyle(.page(indexDisplayMode: .always))
.background {
Color(ThemeService.shared().theme.backgroundColor)
.edgesIgnoringSafeArea(/*@START_MENU_TOKEN@*/.all/*@END_MENU_TOKEN@*/)
}
.overlay(alignment: .bottom) {
HStack {

View File

@@ -87,7 +87,7 @@ import Foundation
func showFederationAnnouncementFlag() -> Bool {
guard let notificationsDict = session.accountData.accountData(forEventType: AccountDataTypes.notifications) as? [String: Any] else {
return false
return true
}
let notifications = AccountNotifications(notificationsDict)
@@ -103,7 +103,7 @@ import Foundation
func showFederationIntroductionFlag() -> Bool {
guard let notificationsDict = session.accountData.accountData(forEventType: AccountDataTypes.notifications) as? [String: Any] else {
return false
return true
}
let notifications = AccountNotifications(notificationsDict)