Skip to content

Commit 54514f4

Browse files
authored
chore: Added license headers to canary sample app (#1966)
1 parent dc07238 commit 54514f4

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

canaries/example/MyAmplifyApp/ContentView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// ContentView.swift
3-
// MyAmplifyApp
2+
// Copyright Amazon.com Inc. or its affiliates.
3+
// All Rights Reserved.
44
//
5-
// Created by Tsui, Yeung Wah on 4/12/22.
5+
// SPDX-License-Identifier: Apache-2.0
66
//
77

88
import SwiftUI

canaries/example/MyAmplifyApp/MyAmplifyAppApp.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// MyAmplifyAppApp.swift
3-
// MyAmplifyApp
2+
// Copyright Amazon.com Inc. or its affiliates.
3+
// All Rights Reserved.
44
//
5-
// Created by Tsui, Yeung Wah on 4/12/22.
5+
// SPDX-License-Identifier: Apache-2.0
66
//
77

88
import SwiftUI
@@ -16,7 +16,7 @@ struct MyAmplifyAppApp: App {
1616
ContentView()
1717
}
1818
}
19-
19+
2020
// add a default initializer and configure Amplify
2121
init() {
2222
configureAmplify()
@@ -25,7 +25,7 @@ struct MyAmplifyAppApp: App {
2525
func configureAmplify() {
2626
do {
2727
try Amplify.configure()
28-
print("Initialized Amplify");
28+
print("Initialized Amplify")
2929
} catch {
3030
// simplified error handling for the tutorial
3131
print("Could not initialize Amplify: \(error)")

canaries/example/MyAmplifyAppUITests/MyAmplifyAppUITests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// MyAmplifyAppUITests.swift
3-
// MyAmplifyAppUITests
2+
// Copyright Amazon.com Inc. or its affiliates.
3+
// All Rights Reserved.
44
//
5-
// Created by Tsui, Yeung Wah on 4/12/22.
5+
// SPDX-License-Identifier: Apache-2.0
66
//
77

88
import XCTest

0 commit comments

Comments
 (0)