Skip to content

Commit

Permalink
small fixes to export
Browse files Browse the repository at this point in the history
  • Loading branch information
pdtxie committed Mar 28, 2024
1 parent 14edd96 commit 0f17887
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CubeTime/Sessions/ImportExport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ struct ExportFlowPickFormats: View {

HStack {
Text(format.getName())
.font(.title2.weight(.semibold))
.font(.title3.weight(.semibold))
.foregroundColor(Color("dark"))

Spacer()
Expand Down
5 changes: 4 additions & 1 deletion CubeTime/Sessions/SessionsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,19 @@ struct SessionsView: View {
.imageScale(.small)
}

/*
Button() {
showImport = true
} label: {
Label("Import Sessions", systemImage: "square.and.arrow.down")
.labelStyle(.titleAndIcon)
.imageScale(.small)
}
*/
} label: {
CTBubble(type: .coloured(nil), size: .small, outlined: false, square: false, hasShadow: true, hasBackground: true, supportsDynamicResizing: true, expandWidth: false) {
Label("Import & Export", systemImage: "square.and.arrow.up.on.square")
// Label("Import & Export", systemImage: "square.and.arrow.up.on.square")
Label("Export", systemImage: "square.and.arrow.up.on.square")
.labelStyle(.titleAndIcon)
.imageScale(.small)
}
Expand Down
2 changes: 1 addition & 1 deletion CubeTime/StopwatchManager/ExportViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class ODSExportFormat: ExportFormat {

class CSTimerExportFormat: ExportFormat {
override func getName() -> String {
return "csTimer (JSON)"
return "JSON (csTimer)"
}

static var _readableContentTypes: [UTType] = [.commaSeparatedText]
Expand Down

0 comments on commit 0f17887

Please sign in to comment.