Add screenshot generator
This commit is contained in:
@@ -191,6 +191,7 @@ public struct ConnectionListView: View {
|
||||
return UIMenu(children: [stateMenu, sortMenu, closeAction])
|
||||
}
|
||||
}
|
||||
|
||||
#elseif os(macOS)
|
||||
private struct ConnectionMenuView: View {
|
||||
@Binding var connectionStateFilter: ConnectionStateFilter
|
||||
|
||||
@@ -56,7 +56,7 @@ public class ConnectionListViewModel: BaseViewModel {
|
||||
}
|
||||
|
||||
public func connect() {
|
||||
if ApplicationLibrary.inPreview {
|
||||
if Variant.screenshotMode {
|
||||
isLoading = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user