This pull request addresses problem #1885. In the AccountDetailView, when a user taps on the profile options button, a menu is displayed. However, on the macCatalyst app, blank rows are observed for certain options.
Causes:
The issue of blank rows arises when attempting to utilize a Divider within the Menu list, specifically when it is nested inside a Section. The root cause may be related to the implementation of SwiftUI views.
To resolve this issue, I introduced a conditional compilation block that ensures the compilation of the Divider function only occurs when the current operating system is not macOS.
Environment:
Issue:
This pull request addresses problem #1885. In the
AccountDetailView
, when a user taps on the profile options button, a menu is displayed. However, on the macCatalyst app, blank rows are observed for certain options.Causes:
The issue of blank rows arises when attempting to utilize a
Divider
within theMenu
list, specifically when it is nested inside aSection
. The root cause may be related to the implementation of SwiftUI views.Solution:
To resolve this issue, I introduced a conditional compilation block that ensures the compilation of the
Divider
function only occurs when the current operating system is not macOS.