File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 608
608
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
609
609
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
610
610
LIBRARY_SEARCH_PATHS = "";
611
- MARKETING_VERSION = 1.3.3;
611
+ MARKETING_VERSION = 1.3.3.1 ;
612
612
PRODUCT_BUNDLE_IDENTIFIER = "io.rudybermudez.Deluge-Remote";
613
613
PRODUCT_NAME = "$(TARGET_NAME)";
614
614
SUPPORTS_MACCATALYST = NO;
634
634
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
635
635
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
636
636
LIBRARY_SEARCH_PATHS = "";
637
- MARKETING_VERSION = 1.3.3;
637
+ MARKETING_VERSION = 1.3.3.1 ;
638
638
PRODUCT_BUNDLE_IDENTIFIER = "io.rudybermudez.Deluge-Remote";
639
639
PRODUCT_NAME = "$(TARGET_NAME)";
640
640
SUPPORTS_MACCATALYST = NO;
Original file line number Diff line number Diff line change @@ -17,3 +17,14 @@ extension Int {
17
17
return ByteCountFormatter . string ( fromByteCount: Int64 ( self ) , countStyle: ByteCountFormatter . CountStyle. memory)
18
18
}
19
19
}
20
+
21
+ extension Double
22
+ {
23
+ func transferRateString( ) -> String {
24
+ return sizeString ( ) + " /s "
25
+ }
26
+
27
+ func sizeString( ) -> String {
28
+ return ByteCountFormatter . string ( fromByteCount: Int64 ( self ) , countStyle: ByteCountFormatter . CountStyle. memory)
29
+ }
30
+ }
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ struct SessionStatus: Decodable {
30
30
let upload_rate : Double
31
31
32
32
/// payload_upload_rate is the rate of the payload down- and upload only.
33
- let payload_upload_rate : Int
33
+ let payload_upload_rate : Double
34
34
35
35
/// num_peers is the total number of peer connections this session has.
36
36
/// This includes incoming connections that still hasn't sent their handshake or
@@ -89,7 +89,7 @@ struct SessionStatus: Decodable {
89
89
let allowed_upload_slots : Int
90
90
91
91
/// payload_download_rate is the rate of the payload down- and upload only.
92
- let payload_download_rate : Int
92
+ let payload_download_rate : Double
93
93
94
94
let total_download : Int
95
95
You can’t perform that action at this time.
0 commit comments