Merge parity-phase2: refresh intervals + profile editing + reusable components #4
3 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ struct BusinessSelectionScreen: View {
|
||||||
@State private var selectedBusiness: Employment?
|
@State private var selectedBusiness: Employment?
|
||||||
@State private var debugText = ""
|
@State private var debugText = ""
|
||||||
|
|
||||||
private let refreshTimer = Timer.publish(every: 2, on: .main, in: .common).autoconnect()
|
private let refreshTimer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
NavigationStack {
|
NavigationStack {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ struct MyTasksScreen: View {
|
||||||
FilterTab(value: "completed", label: "Done", icon: "checkmark.circle.fill"),
|
FilterTab(value: "completed", label: "Done", icon: "checkmark.circle.fill"),
|
||||||
]
|
]
|
||||||
|
|
||||||
private let refreshTimer = Timer.publish(every: 2, on: .main, in: .common).autoconnect()
|
private let refreshTimer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ struct TaskListScreen: View {
|
||||||
@State private var selectedTask: WorkTask?
|
@State private var selectedTask: WorkTask?
|
||||||
@State private var showingMyTasks = false
|
@State private var showingMyTasks = false
|
||||||
|
|
||||||
private let refreshTimer = Timer.publish(every: 2, on: .main, in: .common).autoconnect()
|
private let refreshTimer = Timer.publish(every: 3, on: .main, in: .common).autoconnect()
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
ZStack(alignment: .bottomTrailing) {
|
ZStack(alignment: .bottomTrailing) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue