Make update views function public
This commit is contained in:
parent
25d1d66137
commit
fcc8ec4d7c
@ -51,7 +51,7 @@ public enum StateManager {
|
|||||||
/// - Parameter force: Whether to force all views to update.
|
/// - Parameter force: Whether to force all views to update.
|
||||||
///
|
///
|
||||||
/// Nothing happens if ``UpdateManager/blockUpdates`` is true.
|
/// Nothing happens if ``UpdateManager/blockUpdates`` is true.
|
||||||
static func updateViews(force: Bool = false) {
|
public static func updateViews(force: Bool = false) {
|
||||||
if !blockUpdates {
|
if !blockUpdates {
|
||||||
for handler in updateHandlers {
|
for handler in updateHandlers {
|
||||||
handler(force)
|
handler(force)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user