Skip to content

Commit

Permalink
v1.16.4
Browse files Browse the repository at this point in the history
  • Loading branch information
NoodleOfDeath committed Oct 13, 2023
1 parent 495885f commit b82287b
Show file tree
Hide file tree
Showing 55 changed files with 3,206 additions and 58 deletions.
26 changes: 13 additions & 13 deletions src/mobile/ios/Extensions/Image.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@ public extension Image {
return Image(uiImage: uiImage)
}

static func loadAsync(from string: String) async -> Image? {
guard let url = URL(string: string) else { return nil }
return await self.loadAsync(from: url)
}

static func loadAsync(from url: URL?) async -> Image? {
guard let url = url else { return nil }
let request = URLRequest(url: url)
guard let (data, _) = try? await URLSession.shared.data(for: request) else { return nil }
guard let image = UIImage(data: data) else { return nil }
return Image(uiImage: image)
}

static func load(from string: String, completion: @escaping @Sendable (_ image: Image?) -> Void) {
guard let imageUrl = URL(string: string) else { return }
return self.load(from: imageUrl, completion: completion)
Expand All @@ -45,4 +32,17 @@ public extension Image {
}.resume()
}

static func loadAsync(from string: String) async -> Image? {
guard let url = URL(string: string) else { return nil }
return await self.loadAsync(from: url)
}

static func loadAsync(from url: URL?) async -> Image? {
guard let url = url else { return nil }
let request = URLRequest(url: url)
guard let (data, _) = try? await URLSession.shared.data(for: request) else { return nil }
guard let image = UIImage(data: data) else { return nil }
return Image(uiImage: image)
}

}
105 changes: 101 additions & 4 deletions src/mobile/ios/ReadLess.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions src/mobile/ios/ReadLess/Base.lproj/LaunchScreen.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

/* Class = "UILabel"; text = "อ่านน้อยลง"; ObjectID = "1II-Wa-hal"; */
"1II-Wa-hal.text" = "อ่านน้อยลง";

/* Class = "UILabel"; text = "Đọc ít hơn"; ObjectID = "8Fa-oG-OKv"; */
"8Fa-oG-OKv.text" = "Đọc ít hơn";

/* Class = "UILabel"; text = "Citește mai puțin"; ObjectID = "AKO-5U-C9r"; */
"AKO-5U-C9r.text" = "Citește mai puțin";

/* Class = "UILabel"; text = "Čtěte méně"; ObjectID = "CVh-yK-cjc"; */
"CVh-yK-cjc.text" = "Čtěte méně";

/* Class = "UILabel"; text = "Leggi Meno"; ObjectID = "Fw3-Fv-rXT"; */
"Fw3-Fv-rXT.text" = "Leggi Meno";

/* Class = "UILabel"; text = "読む量を減らす"; ObjectID = "Kui-vU-KrR"; */
"Kui-vU-KrR.text" = "読む量を減らす";

/* Class = "UILabel"; text = "Kevesebbet Olvas"; ObjectID = "LMe-Kk-LZW"; */
"LMe-Kk-LZW.text" = "Kevesebbet Olvas";

/* Class = "UILabel"; text = "Daha az oku"; ObjectID = "MXq-x0-mwR"; */
"MXq-x0-mwR.text" = "Daha az oku";

/* Class = "UILabel"; text = "Читати менше"; ObjectID = "Pgz-ED-CIG"; */
"Pgz-ED-CIG.text" = "Читати менше";

/* Class = "UILabel"; text = "اقرأ أقل"; ObjectID = "Qf0-Cq-4e1"; */
"Qf0-Cq-4e1.text" = "اقرأ أقل";

/* Class = "UILabel"; text = "Lire Moins"; ObjectID = "YiX-9d-tjM"; */
"YiX-9d-tjM.text" = "Lire Moins";

/* Class = "UILabel"; text = "Les Mindre"; ObjectID = "eGn-eC-Jo0"; */
"eGn-eC-Jo0.text" = "Les Mindre";

/* Class = "UILabel"; text = "減少閱讀"; ObjectID = "g2A-pk-cKN"; */
"g2A-pk-cKN.text" = "減少閱讀";

/* Class = "UILabel"; text = "Weniger Lesen"; ObjectID = "qro-p7-H75"; */
"qro-p7-H75.text" = "Weniger Lesen";

/* Class = "UILabel"; text = "Kevesebbet olvas"; ObjectID = "reU-GO-RhW"; */
"reU-GO-RhW.text" = "Kevesebbet olvas";

/* Class = "UILabel"; text = "더 적게 읽기"; ObjectID = "sHs-ve-zrk"; */
"sHs-ve-zrk.text" = "더 적게 읽기";

/* Class = "UILabel"; text = "کمتر بخوانید\""; ObjectID = "so3-yG-47n"; */
"so3-yG-47n.text" = "کمتر بخوانید\"";

/* Class = "UILabel"; text = "Leer Menos"; ObjectID = "vHM-aC-Ez1"; */
"vHM-aC-Ez1.text" = "Leer Menos";

/* Class = "UILabel"; text = "Baca lebih sedikit"; ObjectID = "xld-Ny-7ik"; */
"xld-Ny-7ik.text" = "Baca lebih sedikit";

/* Class = "UILabel"; text = "Ler Menos"; ObjectID = "zHX-jO-m4R"; */
"zHX-jO-m4R.text" = "Ler Menos";

/* Class = "UILabel"; text = "Читать меньше"; ObjectID = "zlW-uZ-csn"; */
"zlW-uZ-csn.text" = "Читать меньше";
63 changes: 63 additions & 0 deletions src/mobile/ios/ReadLess/ar.lproj/LaunchScreen.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

/* Class = "UILabel"; text = "อ่านน้อยลง"; ObjectID = "1II-Wa-hal"; */
"1II-Wa-hal.text" = "อ่านน้อยลง";

/* Class = "UILabel"; text = "Đọc ít hơn"; ObjectID = "8Fa-oG-OKv"; */
"8Fa-oG-OKv.text" = "Đọc ít hơn";

/* Class = "UILabel"; text = "Citește mai puțin"; ObjectID = "AKO-5U-C9r"; */
"AKO-5U-C9r.text" = "Citește mai puțin";

/* Class = "UILabel"; text = "Čtěte méně"; ObjectID = "CVh-yK-cjc"; */
"CVh-yK-cjc.text" = "Čtěte méně";

/* Class = "UILabel"; text = "Leggi Meno"; ObjectID = "Fw3-Fv-rXT"; */
"Fw3-Fv-rXT.text" = "Leggi Meno";

/* Class = "UILabel"; text = "読む量を減らす"; ObjectID = "Kui-vU-KrR"; */
"Kui-vU-KrR.text" = "読む量を減らす";

/* Class = "UILabel"; text = "Kevesebbet Olvas"; ObjectID = "LMe-Kk-LZW"; */
"LMe-Kk-LZW.text" = "Kevesebbet Olvas";

/* Class = "UILabel"; text = "Daha az oku"; ObjectID = "MXq-x0-mwR"; */
"MXq-x0-mwR.text" = "Daha az oku";

/* Class = "UILabel"; text = "Читати менше"; ObjectID = "Pgz-ED-CIG"; */
"Pgz-ED-CIG.text" = "Читати менше";

/* Class = "UILabel"; text = "اقرأ أقل"; ObjectID = "Qf0-Cq-4e1"; */
"Qf0-Cq-4e1.text" = "اقرأ أقل";

/* Class = "UILabel"; text = "Lire Moins"; ObjectID = "YiX-9d-tjM"; */
"YiX-9d-tjM.text" = "Lire Moins";

/* Class = "UILabel"; text = "Les Mindre"; ObjectID = "eGn-eC-Jo0"; */
"eGn-eC-Jo0.text" = "Les Mindre";

/* Class = "UILabel"; text = "減少閱讀"; ObjectID = "g2A-pk-cKN"; */
"g2A-pk-cKN.text" = "減少閱讀";

/* Class = "UILabel"; text = "Weniger Lesen"; ObjectID = "qro-p7-H75"; */
"qro-p7-H75.text" = "Weniger Lesen";

/* Class = "UILabel"; text = "Kevesebbet olvas"; ObjectID = "reU-GO-RhW"; */
"reU-GO-RhW.text" = "Kevesebbet olvas";

/* Class = "UILabel"; text = "더 적게 읽기"; ObjectID = "sHs-ve-zrk"; */
"sHs-ve-zrk.text" = "더 적게 읽기";

/* Class = "UILabel"; text = "کمتر بخوانید\""; ObjectID = "so3-yG-47n"; */
"so3-yG-47n.text" = "کمتر بخوانید\"";

/* Class = "UILabel"; text = "Leer Menos"; ObjectID = "vHM-aC-Ez1"; */
"vHM-aC-Ez1.text" = "Leer Menos";

/* Class = "UILabel"; text = "Baca lebih sedikit"; ObjectID = "xld-Ny-7ik"; */
"xld-Ny-7ik.text" = "Baca lebih sedikit";

/* Class = "UILabel"; text = "Ler Menos"; ObjectID = "zHX-jO-m4R"; */
"zHX-jO-m4R.text" = "Ler Menos";

/* Class = "UILabel"; text = "Читать меньше"; ObjectID = "zlW-uZ-csn"; */
"zlW-uZ-csn.text" = "Читать меньше";
63 changes: 63 additions & 0 deletions src/mobile/ios/ReadLess/ca.lproj/LaunchScreen.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

/* Class = "UILabel"; text = "อ่านน้อยลง"; ObjectID = "1II-Wa-hal"; */
"1II-Wa-hal.text" = "อ่านน้อยลง";

/* Class = "UILabel"; text = "Đọc ít hơn"; ObjectID = "8Fa-oG-OKv"; */
"8Fa-oG-OKv.text" = "Đọc ít hơn";

/* Class = "UILabel"; text = "Citește mai puțin"; ObjectID = "AKO-5U-C9r"; */
"AKO-5U-C9r.text" = "Citește mai puțin";

/* Class = "UILabel"; text = "Čtěte méně"; ObjectID = "CVh-yK-cjc"; */
"CVh-yK-cjc.text" = "Čtěte méně";

/* Class = "UILabel"; text = "Leggi Meno"; ObjectID = "Fw3-Fv-rXT"; */
"Fw3-Fv-rXT.text" = "Leggi Meno";

/* Class = "UILabel"; text = "読む量を減らす"; ObjectID = "Kui-vU-KrR"; */
"Kui-vU-KrR.text" = "読む量を減らす";

/* Class = "UILabel"; text = "Kevesebbet Olvas"; ObjectID = "LMe-Kk-LZW"; */
"LMe-Kk-LZW.text" = "Kevesebbet Olvas";

/* Class = "UILabel"; text = "Daha az oku"; ObjectID = "MXq-x0-mwR"; */
"MXq-x0-mwR.text" = "Daha az oku";

/* Class = "UILabel"; text = "Читати менше"; ObjectID = "Pgz-ED-CIG"; */
"Pgz-ED-CIG.text" = "Читати менше";

/* Class = "UILabel"; text = "اقرأ أقل"; ObjectID = "Qf0-Cq-4e1"; */
"Qf0-Cq-4e1.text" = "اقرأ أقل";

/* Class = "UILabel"; text = "Lire Moins"; ObjectID = "YiX-9d-tjM"; */
"YiX-9d-tjM.text" = "Lire Moins";

/* Class = "UILabel"; text = "Les Mindre"; ObjectID = "eGn-eC-Jo0"; */
"eGn-eC-Jo0.text" = "Les Mindre";

/* Class = "UILabel"; text = "減少閱讀"; ObjectID = "g2A-pk-cKN"; */
"g2A-pk-cKN.text" = "減少閱讀";

/* Class = "UILabel"; text = "Weniger Lesen"; ObjectID = "qro-p7-H75"; */
"qro-p7-H75.text" = "Weniger Lesen";

/* Class = "UILabel"; text = "Kevesebbet olvas"; ObjectID = "reU-GO-RhW"; */
"reU-GO-RhW.text" = "Kevesebbet olvas";

/* Class = "UILabel"; text = "더 적게 읽기"; ObjectID = "sHs-ve-zrk"; */
"sHs-ve-zrk.text" = "더 적게 읽기";

/* Class = "UILabel"; text = "کمتر بخوانید\""; ObjectID = "so3-yG-47n"; */
"so3-yG-47n.text" = "کمتر بخوانید\"";

/* Class = "UILabel"; text = "Leer Menos"; ObjectID = "vHM-aC-Ez1"; */
"vHM-aC-Ez1.text" = "Leer Menos";

/* Class = "UILabel"; text = "Baca lebih sedikit"; ObjectID = "xld-Ny-7ik"; */
"xld-Ny-7ik.text" = "Baca lebih sedikit";

/* Class = "UILabel"; text = "Ler Menos"; ObjectID = "zHX-jO-m4R"; */
"zHX-jO-m4R.text" = "Ler Menos";

/* Class = "UILabel"; text = "Читать меньше"; ObjectID = "zlW-uZ-csn"; */
"zlW-uZ-csn.text" = "Читать меньше";
63 changes: 63 additions & 0 deletions src/mobile/ios/ReadLess/cs.lproj/LaunchScreen.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

/* Class = "UILabel"; text = "อ่านน้อยลง"; ObjectID = "1II-Wa-hal"; */
"1II-Wa-hal.text" = "อ่านน้อยลง";

/* Class = "UILabel"; text = "Đọc ít hơn"; ObjectID = "8Fa-oG-OKv"; */
"8Fa-oG-OKv.text" = "Đọc ít hơn";

/* Class = "UILabel"; text = "Citește mai puțin"; ObjectID = "AKO-5U-C9r"; */
"AKO-5U-C9r.text" = "Citește mai puțin";

/* Class = "UILabel"; text = "Čtěte méně"; ObjectID = "CVh-yK-cjc"; */
"CVh-yK-cjc.text" = "Čtěte méně";

/* Class = "UILabel"; text = "Leggi Meno"; ObjectID = "Fw3-Fv-rXT"; */
"Fw3-Fv-rXT.text" = "Leggi Meno";

/* Class = "UILabel"; text = "読む量を減らす"; ObjectID = "Kui-vU-KrR"; */
"Kui-vU-KrR.text" = "読む量を減らす";

/* Class = "UILabel"; text = "Kevesebbet Olvas"; ObjectID = "LMe-Kk-LZW"; */
"LMe-Kk-LZW.text" = "Kevesebbet Olvas";

/* Class = "UILabel"; text = "Daha az oku"; ObjectID = "MXq-x0-mwR"; */
"MXq-x0-mwR.text" = "Daha az oku";

/* Class = "UILabel"; text = "Читати менше"; ObjectID = "Pgz-ED-CIG"; */
"Pgz-ED-CIG.text" = "Читати менше";

/* Class = "UILabel"; text = "اقرأ أقل"; ObjectID = "Qf0-Cq-4e1"; */
"Qf0-Cq-4e1.text" = "اقرأ أقل";

/* Class = "UILabel"; text = "Lire Moins"; ObjectID = "YiX-9d-tjM"; */
"YiX-9d-tjM.text" = "Lire Moins";

/* Class = "UILabel"; text = "Les Mindre"; ObjectID = "eGn-eC-Jo0"; */
"eGn-eC-Jo0.text" = "Les Mindre";

/* Class = "UILabel"; text = "減少閱讀"; ObjectID = "g2A-pk-cKN"; */
"g2A-pk-cKN.text" = "減少閱讀";

/* Class = "UILabel"; text = "Weniger Lesen"; ObjectID = "qro-p7-H75"; */
"qro-p7-H75.text" = "Weniger Lesen";

/* Class = "UILabel"; text = "Kevesebbet olvas"; ObjectID = "reU-GO-RhW"; */
"reU-GO-RhW.text" = "Kevesebbet olvas";

/* Class = "UILabel"; text = "더 적게 읽기"; ObjectID = "sHs-ve-zrk"; */
"sHs-ve-zrk.text" = "더 적게 읽기";

/* Class = "UILabel"; text = "کمتر بخوانید\""; ObjectID = "so3-yG-47n"; */
"so3-yG-47n.text" = "کمتر بخوانید\"";

/* Class = "UILabel"; text = "Leer Menos"; ObjectID = "vHM-aC-Ez1"; */
"vHM-aC-Ez1.text" = "Leer Menos";

/* Class = "UILabel"; text = "Baca lebih sedikit"; ObjectID = "xld-Ny-7ik"; */
"xld-Ny-7ik.text" = "Baca lebih sedikit";

/* Class = "UILabel"; text = "Ler Menos"; ObjectID = "zHX-jO-m4R"; */
"zHX-jO-m4R.text" = "Ler Menos";

/* Class = "UILabel"; text = "Читать меньше"; ObjectID = "zlW-uZ-csn"; */
"zlW-uZ-csn.text" = "Читать меньше";
63 changes: 63 additions & 0 deletions src/mobile/ios/ReadLess/da.lproj/LaunchScreen.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

/* Class = "UILabel"; text = "อ่านน้อยลง"; ObjectID = "1II-Wa-hal"; */
"1II-Wa-hal.text" = "อ่านน้อยลง";

/* Class = "UILabel"; text = "Đọc ít hơn"; ObjectID = "8Fa-oG-OKv"; */
"8Fa-oG-OKv.text" = "Đọc ít hơn";

/* Class = "UILabel"; text = "Citește mai puțin"; ObjectID = "AKO-5U-C9r"; */
"AKO-5U-C9r.text" = "Citește mai puțin";

/* Class = "UILabel"; text = "Čtěte méně"; ObjectID = "CVh-yK-cjc"; */
"CVh-yK-cjc.text" = "Čtěte méně";

/* Class = "UILabel"; text = "Leggi Meno"; ObjectID = "Fw3-Fv-rXT"; */
"Fw3-Fv-rXT.text" = "Leggi Meno";

/* Class = "UILabel"; text = "読む量を減らす"; ObjectID = "Kui-vU-KrR"; */
"Kui-vU-KrR.text" = "読む量を減らす";

/* Class = "UILabel"; text = "Kevesebbet Olvas"; ObjectID = "LMe-Kk-LZW"; */
"LMe-Kk-LZW.text" = "Kevesebbet Olvas";

/* Class = "UILabel"; text = "Daha az oku"; ObjectID = "MXq-x0-mwR"; */
"MXq-x0-mwR.text" = "Daha az oku";

/* Class = "UILabel"; text = "Читати менше"; ObjectID = "Pgz-ED-CIG"; */
"Pgz-ED-CIG.text" = "Читати менше";

/* Class = "UILabel"; text = "اقرأ أقل"; ObjectID = "Qf0-Cq-4e1"; */
"Qf0-Cq-4e1.text" = "اقرأ أقل";

/* Class = "UILabel"; text = "Lire Moins"; ObjectID = "YiX-9d-tjM"; */
"YiX-9d-tjM.text" = "Lire Moins";

/* Class = "UILabel"; text = "Les Mindre"; ObjectID = "eGn-eC-Jo0"; */
"eGn-eC-Jo0.text" = "Les Mindre";

/* Class = "UILabel"; text = "減少閱讀"; ObjectID = "g2A-pk-cKN"; */
"g2A-pk-cKN.text" = "減少閱讀";

/* Class = "UILabel"; text = "Weniger Lesen"; ObjectID = "qro-p7-H75"; */
"qro-p7-H75.text" = "Weniger Lesen";

/* Class = "UILabel"; text = "Kevesebbet olvas"; ObjectID = "reU-GO-RhW"; */
"reU-GO-RhW.text" = "Kevesebbet olvas";

/* Class = "UILabel"; text = "더 적게 읽기"; ObjectID = "sHs-ve-zrk"; */
"sHs-ve-zrk.text" = "더 적게 읽기";

/* Class = "UILabel"; text = "کمتر بخوانید\""; ObjectID = "so3-yG-47n"; */
"so3-yG-47n.text" = "کمتر بخوانید\"";

/* Class = "UILabel"; text = "Leer Menos"; ObjectID = "vHM-aC-Ez1"; */
"vHM-aC-Ez1.text" = "Leer Menos";

/* Class = "UILabel"; text = "Baca lebih sedikit"; ObjectID = "xld-Ny-7ik"; */
"xld-Ny-7ik.text" = "Baca lebih sedikit";

/* Class = "UILabel"; text = "Ler Menos"; ObjectID = "zHX-jO-m4R"; */
"zHX-jO-m4R.text" = "Ler Menos";

/* Class = "UILabel"; text = "Читать меньше"; ObjectID = "zlW-uZ-csn"; */
"zlW-uZ-csn.text" = "Читать меньше";
Loading

0 comments on commit b82287b

Please sign in to comment.