experiments in a post-browser web
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(mobile): URL editor layout - tags and buttons now flex to bottom of editor pane

+18 -2
+14
backend/tauri-mobile/src-tauri/gen/apple/Peek/ShareViewController.swift
··· 50 50 setupNetworkMonitor() 51 51 } 52 52 53 + /// Re-read profile config and reconnect to the DB. 54 + /// Call this each time the share extension is presented, 55 + /// since iOS may keep the extension process (and this singleton) 56 + /// alive across invocations — a profile switch in the main app 57 + /// would otherwise go unnoticed. 58 + func reloadProfile() { 59 + setupStore() 60 + } 61 + 53 62 private func setupStore() { 54 63 guard let containerURL = FileManager.default.containerURL( 55 64 forSecurityApplicationGroupIdentifier: "group.com.dietrich.peek-mobile" ··· 815 824 816 825 override func viewDidLoad() { 817 826 super.viewDidLoad() 827 + 828 + // Re-read profile config every time the share sheet opens. 829 + // iOS may keep the extension process alive between invocations, 830 + // so the singleton could hold a stale profile / DB path. 831 + PeekCoreManager.shared.reloadProfile() 818 832 819 833 view.backgroundColor = PeekTheme.bg 820 834
+4 -2
backend/tauri-mobile/src/App.css
··· 2704 2704 display: flex; 2705 2705 flex-direction: column; 2706 2706 max-height: 100%; 2707 - height: auto; 2707 + flex: 1; 2708 + height: 0; 2709 + min-height: 0; 2708 2710 } 2709 2711 2710 2712 /* Resizable Input Component */ ··· 2785 2787 2786 2788 /* Tags Section - expands to fill available space, scrolls when full */ 2787 2789 .editor-tags-section { 2788 - flex: 1 1 auto; 2790 + flex: 1 1 0; 2789 2791 min-height: 0; 2790 2792 overflow-y: auto; 2791 2793 -webkit-overflow-scrolling: touch;