Skip to content

Commit 600064b

Browse files
committed
minor tweaks
1 parent b6c6e55 commit 600064b

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

interview_coder/AboutView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ struct AboutView: View {
2525

2626
VStack(alignment: .leading, spacing: 6) {
2727
Text("Developer: Marius-Constantin Dinu").font(.system(size: 13))
28-
Button(action: { openURL("mailto:dinu.marius.constantin@gmail.com") }) {
29-
Text("dinu.marius.constantin@gmail.com")
28+
Button(action: { openURL("mailto:marius@extensity.ai") }) {
29+
Text("marius@extensity.ai")
3030
}.buttonStyle(.link)
3131
Text("License: Proprietary — All rights reserved.")
3232
.font(.system(size: 13))

interview_coder/Credits.rtf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
\f0\b\fs24 \cf0 Codex++
99
\f1\b0 Version 1.0\uc0\u8232
1010
\f0\b Developer:
11-
\f1\b0 Marius-Constantin Dinu (dinu.marius.constantin@gmail.com)\uc0\u8232
11+
\f1\b0 Marius-Constantin Dinu (marius@extensity.ai)\uc0\u8232
1212
\f0\b License:
1313
\f1\b0 Proprietary: All rights reserved. See LICENSE_PROPRIETARY.txt.\uc0\u8232
1414
\f0\b Copyright:

interview_coder/LICENSE_PROPRIETARY.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM,
2222
OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
SOFTWARE.
2424

25-
For commercial licensing or inquiries, contact: dinu.marius.constantin@gmail.com
25+
For commercial licensing or inquiries, contact: marius@extensity.ai
2626

interview_coder/PanelView.swift

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ struct PanelView: View {
88
@EnvironmentObject var model: AppModel
99
@EnvironmentObject var tabs: TabController
1010
@Environment(\.modelContext) private var modelContext
11+
@Environment(\.scenePhase) private var scenePhase
1112
// Generation state is tracked in the model
1213
@State private var showSettings: Bool = false
1314
@State private var showKeyInfo: Bool = false
@@ -1250,8 +1251,13 @@ private var headerBar: some View { DragHost { headerContent }.zIndex(2) }
12501251
Divider()
12511252
Group {
12521253
if model.isInteractive {
1253-
Button { Task { await model.handleGenerateHotkey() } } label: { Label("Generate (⌘↩)", systemImage: "arrow.triangle.2.circlepath") }
1254-
.buttonStyle(.bordered)
1254+
if scenePhase == .active {
1255+
Button { Task { await model.handleGenerateHotkey() } } label: { Label("Generate (⌘↩)", systemImage: "arrow.triangle.2.circlepath") }
1256+
.buttonStyle(.borderedProminent)
1257+
} else {
1258+
Button { Task { await model.handleGenerateHotkey() } } label: { Label("Generate (⌘↩)", systemImage: "arrow.triangle.2.circlepath") }
1259+
.buttonStyle(.bordered)
1260+
}
12551261
} else {
12561262
Label("Generate (⌘↩)", systemImage: "arrow.triangle.2.circlepath")
12571263
.foregroundStyle(.secondary)

0 commit comments

Comments
 (0)