damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit fa11af4b1ddf403972245939fc18e81bc85b80e1
parent 91159d70cad28c2794d3737589c400797e47c191
Author: John Bethancourt <jbethancourt@gmail.com>
Date:   Mon, 16 Jan 2023 17:19:15 -1000

Prevent absurdly large sidebar on Mac or iPad

Closes: #338
Changelog-Fixed: Fix absurdly large sidebar on Mac/iPad

Diffstat:
Mdamus/Views/SideMenuView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/SideMenuView.swift b/damus/Views/SideMenuView.swift @@ -16,7 +16,7 @@ struct SideMenuView: View { @Environment(\.colorScheme) var colorScheme - var sideBarWidth = UIScreen.main.bounds.size.width * 0.65 + var sideBarWidth = min(UIScreen.main.bounds.size.width * 0.65, 400.0) func fillColor() -> Color { colorScheme == .light ? Color("DamusWhite") : Color("DamusBlack")