Skip to content

Commit 4a3a746

Browse files
committed
Refactoring code logic - 7
1 parent b7d84f1 commit 4a3a746

24 files changed

+1050
-934
lines changed

iosApp/iosApp.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
6423385A2DF07E900022CB96 /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = {
7777
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
7878
membershipExceptions = (
79-
Page/Compose/Timeline/CommonTimelineStatusComponent.bak,
79+
Page/Compose/Timeline/TimelineStatus/CommonTimelineStatusComponent.bak,
8080
Page/Home/View/SwiftUI/TimelineViewSwiftUI.bak,
8181
Page/Home/View/UIKit/HomeTabController.swift.bak,
8282
Page/Home/View/UIKit/HomeTabScreen.swift.bak,
@@ -90,7 +90,7 @@
9090
isa = PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet;
9191
buildPhase = 7555FF77242A565900829871 /* Sources */;
9292
membershipExceptions = (
93-
Page/Compose/Timeline/CommonTimelineStatusComponent.bak,
93+
Page/Compose/Timeline/TimelineStatus/CommonTimelineStatusComponent.bak,
9494
Page/Home/View/SwiftUI/TimelineViewSwiftUI.bak,
9595
Page/Home/View/UIKit/HomeTabController.swift.bak,
9696
Page/Home/View/UIKit/HomeTabScreen.swift.bak,

iosApp/iosApp/Localizable.xcstrings

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11487,6 +11487,9 @@
1148711487
}
1148811488
}
1148911489
}
11490+
},
11491+
"Error: Podcast ID not available." : {
11492+
1149011493
},
1149111494
"fans" : {
1149211495
"localizations" : {
@@ -27722,6 +27725,7 @@
2772227725
}
2772327726
},
2772427727
"quote" : {
27728+
"extractionState" : "stale",
2772527729
"localizations" : {
2772627730
"ar" : {
2772727731
"stringUnit" : {
@@ -28880,6 +28884,7 @@
2888028884
}
2888128885
},
2888228886
"retweet" : {
28887+
"extractionState" : "stale",
2888328888
"localizations" : {
2888428889
"ar" : {
2888528890
"stringUnit" : {
@@ -29010,6 +29015,7 @@
2901029015
}
2901129016
},
2901229017
"retweet_remove" : {
29018+
"extractionState" : "stale",
2901329019
"localizations" : {
2901429020
"ar" : {
2901529021
"stringUnit" : {
@@ -35972,6 +35978,7 @@
3597235978
}
3597335979
},
3597435980
"status_action_add_reaction" : {
35981+
"extractionState" : "stale",
3597535982
"localizations" : {
3597635983
"ar" : {
3597735984
"stringUnit" : {
@@ -36102,6 +36109,7 @@
3610236109
}
3610336110
},
3610436111
"status_action_bookmark" : {
36112+
"extractionState" : "stale",
3610536113
"localizations" : {
3610636114
"ar" : {
3610736115
"stringUnit" : {
@@ -36232,6 +36240,7 @@
3623236240
}
3623336241
},
3623436242
"status_action_delete" : {
36243+
"extractionState" : "stale",
3623536244
"localizations" : {
3623636245
"ar" : {
3623736246
"stringUnit" : {
@@ -36368,6 +36377,7 @@
3636836377
}
3636936378
},
3637036379
"status_action_like" : {
36380+
"extractionState" : "stale",
3637136381
"localizations" : {
3637236382
"ar" : {
3637336383
"stringUnit" : {
@@ -36498,6 +36508,7 @@
3649836508
}
3649936509
},
3650036510
"status_action_more" : {
36511+
"extractionState" : "stale",
3650136512
"localizations" : {
3650236513
"ar" : {
3650336514
"stringUnit" : {
@@ -36628,6 +36639,7 @@
3662836639
}
3662936640
},
3663036641
"status_action_reply" : {
36642+
"extractionState" : "stale",
3663136643
"localizations" : {
3663236644
"ar" : {
3663336645
"stringUnit" : {
@@ -36758,6 +36770,7 @@
3675836770
}
3675936771
},
3676036772
"status_action_unbookmark" : {
36773+
"extractionState" : "stale",
3676136774
"localizations" : {
3676236775
"ar" : {
3676336776
"stringUnit" : {
@@ -36888,6 +36901,7 @@
3688836901
}
3688936902
},
3689036903
"status_action_unlike" : {
36904+
"extractionState" : "stale",
3689136905
"localizations" : {
3689236906
"ar" : {
3689336907
"stringUnit" : {
@@ -37928,6 +37942,9 @@
3792837942
}
3792937943
}
3793037944
}
37945+
},
37946+
"Stop Listening " : {
37947+
3793137948
},
3793237949
"subscribers" : {
3793337950
"localizations" : {
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import Awesome
2+
import Generated
3+
import JXPhotoBrowser
4+
import Kingfisher
5+
import MarkdownUI
6+
import os.log
7+
import shared
8+
import SwiftDate
9+
import SwiftUI
10+
import UIKit
11+
12+
struct StatusVisibilityComponent: View {
13+
let visibility: UiTimelineItemContentStatusTopEndContentVisibility.Type_
14+
15+
var body: some View {
16+
switch visibility {
17+
case .public:
18+
Awesome.Classic.Solid.globe.image.opacity(0.6)
19+
case .home:
20+
Awesome.Classic.Solid.lockOpen.image
21+
case .followers:
22+
Awesome.Classic.Solid.lock.image
23+
case .specified:
24+
Awesome.Classic.Solid.at.image
25+
}
26+
}
27+
}
File renamed without changes.

iosApp/iosApp/UI/Page/Home/Components/Status/LinkPreview.swift renamed to iosApp/iosApp/UI/Page/Compose/Timeline/CardPreview/LinkPreview.swift

File renamed without changes.

iosApp/iosApp/UI/Page/Home/Components/Status/PodcastPreview.swift renamed to iosApp/iosApp/UI/Page/Compose/Timeline/CardPreview/PodcastPreview.swift

File renamed without changes.

0 commit comments

Comments
 (0)