Skip to content

Commit

Permalink
minor UI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush9029 committed Apr 23, 2022
1 parent ca902de commit cfb5593
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions NativeTwitch.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 9;
CURRENT_PROJECT_VERSION = 10;
DEVELOPMENT_ASSET_PATHS = "\"NativeTwitch/Preview Content\"";
DEVELOPMENT_TEAM = 4538W4A79B;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -451,7 +451,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.6;
MARKETING_VERSION = 1.7;
PRODUCT_BUNDLE_IDENTIFIER = com.aayush.opensource.NativeTwitch;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -467,7 +467,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 9;
CURRENT_PROJECT_VERSION = 10;
DEVELOPMENT_ASSET_PATHS = "\"NativeTwitch/Preview Content\"";
DEVELOPMENT_TEAM = 4538W4A79B;
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -478,7 +478,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.6;
MARKETING_VERSION = 1.7;
PRODUCT_BUNDLE_IDENTIFIER = com.aayush.opensource.NativeTwitch;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand Down
Binary file not shown.
2 changes: 2 additions & 0 deletions NativeTwitch/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSHumanReadableCopyright</key>
<string>© Github.com/Aayush9029 2022</string>
</dict>
</plist>
5 changes: 1 addition & 4 deletions NativeTwitch/NativeTwitchApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ struct NativeTwitchApp: App {
@StateObject var twitchData = TwitchDataViewModel()
@StateObject var updater = AutoUpdater()

@State var showingLogs = false
@State var hightLightWarnings = false

var body: some Scene {
WindowGroup {
ContentView()
Expand Down Expand Up @@ -70,7 +67,7 @@ struct NativeTwitchApp: App {
PreferencesView()
.environmentObject(twitchData)
.background(VisualEffectView(material: NSVisualEffectView.Material.sidebar, blendingMode: NSVisualEffectView.BlendingMode.behindWindow))
.frame(width: 320, height: showingLogs ? 720: 460)
.frame(width: 320, height: 460)
.fixedSize()
}

Expand Down
3 changes: 3 additions & 0 deletions NativeTwitch/View/PreferencesView/GeneralPreferenceView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ struct GeneralPreferenceView: View {
.font(.title)
.fontWeight(.bold)
.foregroundStyle(.green)
.padding(.bottom)

Group {
Text("Streamlink Location")
Expand All @@ -27,6 +28,8 @@ struct GeneralPreferenceView: View {
.foregroundStyle(.secondary)
TextField("Streamlink Config (optional)", text: $twitchData.streamlinkConfig)
.font(.title3)
.padding(.bottom)

}

Divider()
Expand Down

0 comments on commit cfb5593

Please sign in to comment.