mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
Some minor changes from review
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user