I figured out the answer. Because my message variable was from a function, it only called when the app started up - not when the view was rendered. It didn't detect when the function output changed. Instead, making it so that my function was called in the actual Text(message()) part, so it checked every time the view updated.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: