Changelog-Changed: Renamed Friends of Friends to Trusted Network Changelog-Added: Added popover tips to DMs and Notifications toolbars on Trusted Network button Signed-off-by: Terry Yiu <git@tyiu.xyz>
26 lines
794 B
Swift
26 lines
794 B
Swift
//
|
|
// TrustedNetworkButtonTip.swift
|
|
// damus
|
|
//
|
|
// Created by Terry Yiu on 6/4/25.
|
|
//
|
|
|
|
import TipKit
|
|
|
|
@available(iOS 17, *)
|
|
struct TrustedNetworkButtonTip: Tip {
|
|
static let shared = TrustedNetworkButtonTip()
|
|
|
|
var title: Text {
|
|
Text("Toggle visibility of content from outside your trusted network", comment: "Title of tip that informs users what trusted network means and that they can toggle the visibility of content from outside their trusted network.")
|
|
}
|
|
|
|
var message: Text? {
|
|
Text("Your trusted network is comprised of profiles you follow and profiles that they follow.", comment: "Description of the tip that informs users what trusted network means.")
|
|
}
|
|
|
|
var image: Image? {
|
|
Image(systemName: "network.badge.shield.half.filled")
|
|
}
|
|
}
|