mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-26 17:52:29 +01:00
Allowing HTTP downloads
This commit is contained in:
parent
4fa6873180
commit
b3ce10c2de
@ -16,6 +16,7 @@
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.Amethyst"
|
||||
android:largeHeap="true"
|
||||
android:usesCleartextTraffic="true"
|
||||
tools:targetApi="31">
|
||||
<activity
|
||||
android:label="Amethyst"
|
||||
|
@ -174,13 +174,6 @@ class User(val pubkeyHex: String) {
|
||||
info = newUserInfo
|
||||
updatedMetadataAt = updateAt
|
||||
|
||||
if (info.picture?.startsWith( "http://") == true) {
|
||||
info.picture = info.picture?.replaceFirst("http://", "https://")
|
||||
}
|
||||
|
||||
if (info.banner?.startsWith( "http://") == true) {
|
||||
info.banner = info.banner?.replaceFirst("http://", "https://")
|
||||
}
|
||||
|
||||
invalidateData()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user