Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Save text and sidebar visibility on the disk
Browse files Browse the repository at this point in the history
  • Loading branch information
david-swift committed Jan 6, 2024
1 parent a4b5dc5 commit 100d7e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ import Libadwaita

struct ContentView: View {

@State private var text = ""
@State("text")
private var text = ""
@State private var output: [String] = []
@State private var outputSignal: Signal = .init()
@State private var sidebarVisible = false
@State("sidebar")
private var sidebarVisible = false
@State private var selectedText = ""
@State private var copySignal: Signal = .init()
@Binding var exportContent: String
Expand Down

0 comments on commit 100d7e7

Please sign in to comment.