* iOS Share extension * Add Fastlane steps for iOS Share Extension * new multi file layout * Add recent label * Refactor code & identation * ux feedback * downsample images * remove options horizontal padding
23 lines
667 B
Swift
23 lines
667 B
Swift
//
|
|
// NoServersView.swift
|
|
// MattermostShare
|
|
//
|
|
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct NoServersView: View {
|
|
var body: some View {
|
|
VStack (spacing: 8) {
|
|
Text("Not connected to any servers")
|
|
.font(Font.custom("Metropolis-SemiBold", size: 20))
|
|
.foregroundColor(Color.theme.centerChannelColor)
|
|
Text("To share content, you'll need to be logged in to a Mattermost server.")
|
|
.font(Font.custom("OpenSans", size: 16))
|
|
.foregroundColor(Color.theme.centerChannelColor.opacity(0.72))
|
|
}
|
|
.padding(.horizontal, 12)
|
|
}
|
|
}
|