-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from oversizedev/develop
Develop
- Loading branch information
Showing
27 changed files
with
113 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Bump version | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
|
||
tag: | ||
name: Create tag | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: '0' | ||
|
||
- name: Bump version and push tag | ||
uses: anothrNick/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} | ||
WITH_V: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*.*.*" | ||
|
||
jobs: | ||
build: | ||
name: Create release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Sources/OversizeCalendarKit/CreateEventScreen/AttachmentScreen/AttachmentView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// AttachmentView.swift | ||
// | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Sources/OversizeCalendarKit/CreateEventScreen/CreateEventView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// CreateEventView.swift | ||
// | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Sources/OversizeCalendarKit/CreateEventScreen/CreateEventViewModel.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// CreateEventViewModel.swift | ||
// | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Sources/OversizeCalendarKit/CreateEventScreen/CreateEventViewSheet.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// CreateEventViewSheet.swift | ||
// | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Sources/OversizeCalendarKit/CreateEventScreen/SaveForView/SaveForView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// SaveForView.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// AlertPicker.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// CalendarPicker.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// RepeatPicker.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// AttendeesView.swift | ||
// | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Sources/OversizeContactsKit/ContactsLists/ContactsListsView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// ContactsListsView.swift | ||
// | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Sources/OversizeContactsKit/ContactsPicker/EmailPickerView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// EmailPickerView.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// Launcher.swift | ||
// | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Sources/OversizeKit/SettingsKit/Views/Apperance/AppearanceSettingView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Sources/OversizeKit/SettingsKit/Views/Security/PINCode/SetPINCodeView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// SetPINCodeView.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// SettingsView.swift | ||
// | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Sources/OversizeKit/StoreKit/StoreScreen/StoreInstuctinsView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// StoreInstuctinsView.swift | ||
// | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
Sources/OversizeKit/StoreKit/StoreScreen/StoreSpecialOfferView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// StoreView.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// PrmiumBannerRow.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// StoreProductView.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// NoticeListView.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright © 2022 Alexander Romanov | ||
// Copyright © 2023 Alexander Romanov | ||
// OnboardingView.swift | ||
// | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// | ||
// Copyright © 2023 Alexander Romanov | ||
// PhotosGalleryView.swift | ||
// | ||
|
||
import OversizePhotoComponents | ||
import OversizeUI | ||
import SwiftUI | ||
|
||
public struct PhotosGalleryView: View { | ||
private let title: String | ||
private let images: [Image] | ||
@State private var isShowPhoto: Bool = false | ||
@State private var selection: Int = 0 | ||
|
||
public init(title: String = "Photos", images: [Image]) { | ||
self.title = title | ||
self.images = images | ||
} | ||
|
||
public var body: some View { | ||
PageView(title) { | ||
if images.isEmpty { | ||
Text("Not photos") | ||
.title3() | ||
.onSurfaceHighEmphasisForegroundColor() | ||
} else { | ||
ImageGridView(images, columnCount: .constant(3)) { image in | ||
let index = images.firstIndex(of: image) | ||
selection = index ?? 0 | ||
isShowPhoto = true | ||
} longPressAction: { _ in } | ||
} | ||
} | ||
.leadingBar { | ||
BarButton(.back) | ||
} | ||
.photoOverlay(isPresent: $isShowPhoto, selection: $selection, photos: images) | ||
} | ||
} | ||
|
||
struct PhotosGalleryView_Previews: PreviewProvider { | ||
static var previews: some View { | ||
PhotosGalleryView(images: []) | ||
} | ||
} |