chore(mobile): update iOS deployment target and podspec platform versions

- Removed the deployment target for iOS in app.config.ts.
- Updated the iOS and tvOS platform versions in FollowNative.podspec from '17.0' to '15.1'.
- Cleaned up unused spacing in ProfileView.swift.

These changes ensure compatibility with older iOS versions while maintaining code clarity.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-03-26 21:15:05 +08:00
parent 680a0fd7db
commit 62e83822bd
3 changed files with 3 additions and 6 deletions
-1
View File
@@ -81,7 +81,6 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
{
ios: {
useFrameworks: "static",
deploymentTarget: "17.0",
},
},
],
+2 -2
View File
@@ -12,8 +12,8 @@ Pod::Spec.new do |s|
s.author = package['author']
s.homepage = package['homepage']
s.platforms = {
:ios => '17.0',
:tvos => '17.0'
:ios => '15.1',
:tvos => '15.1'
}
s.swift_version = '5.4'
s.source = { git: 'https://github.com/RSSNext/follow' }
@@ -10,7 +10,7 @@ import SwiftUI
struct ProfileView: View {
@Binding var profile: ProfileData
@Binding var user: UserData
let onPress: EventDispatcher
let onPress: EventDispatcher
var hasAnyFeeds: Bool {
!profile.feeds.isEmpty || !profile.groupedFeeds.isEmpty
@@ -113,7 +113,6 @@ struct ProfileView: View {
}
}.listStyle(.insetGrouped)
.listSectionSpacing(0)
}
}
@@ -133,7 +132,6 @@ private struct ProfileListImage: View {
}
}
private struct SectionHeaderText: View {
let text: String