iap - wip
This commit is contained in:
16
Shared/View+Extensions.swift
Normal file
16
Shared/View+Extensions.swift
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// View+Extensions.swift
|
||||
// Feels
|
||||
//
|
||||
// Created by Trey Tartt on 7/7/22.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
extension View {
|
||||
func hasScrollEnabled(_ value: Bool) -> some View {
|
||||
self.onAppear {
|
||||
UITableView.appearance().isScrollEnabled = value
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user