This PR reworks the approach on how messages are shown. Before, each UIViewController had an own instance of MessagesView and the messages were presented by it. Now, there is only a single instance of MessagesView in either the iPad's or iPhone's main controller. All other UIVewControllers send notifications which are consumed by this central instance and shown from there. This allows to reduce code to layout and create several instances and it easily aligns the layout of the messages.
In addition, this PR brings back the messages after executing action from the "Power Menu" (e.g. Audio Library Scan). Those were lost as part of refactoring and unifying the power menu.
Summary for release notes
Maintenance: Use centralized approach to show messages
Bugfix: Show power menu related messages again
Description
This PR reworks the approach on how messages are shown. Before, each
UIViewController
had an own instance ofMessagesView
and the messages were presented by it. Now, there is only a single instance ofMessagesView
in either the iPad's or iPhone's main controller. All otherUIVewController
s send notifications which are consumed by this central instance and shown from there. This allows to reduce code to layout and create several instances and it easily aligns the layout of the messages. In addition, this PR brings back the messages after executing action from the "Power Menu" (e.g. Audio Library Scan). Those were lost as part of refactoring and unifying the power menu.Summary for release notes
Maintenance: Use centralized approach to show messages Bugfix: Show power menu related messages again