forked from Ivasoft/mattermost-mobile
34 lines
916 B
Swift
34 lines
916 B
Swift
//
|
|
// NoMembershipView.swift
|
|
// MattermostShare
|
|
//
|
|
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct NoMembershipView: View {
|
|
var body: some View {
|
|
VStack (spacing: 8) {
|
|
Text(
|
|
NSLocalizedString("extension.no_memberships.title",
|
|
value: "Not a member of any team yet",
|
|
comment: ""
|
|
)
|
|
)
|
|
.font(Font.custom("Metropolis-SemiBold", size: 20))
|
|
.foregroundColor(Color.theme.centerChannelColor)
|
|
Text(
|
|
NSLocalizedString("extension.no_memberships.description",
|
|
value: "To share content, you'll need to be a member of a team on a Mattermost server.",
|
|
comment: ""
|
|
)
|
|
)
|
|
.font(Font.custom("OpenSans", size: 16))
|
|
.foregroundColor(Color.theme.centerChannelColor.opacity(0.72))
|
|
}
|
|
.padding(.horizontal, 12)
|
|
}
|
|
}
|