mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-17 14:37:29 +01:00
Fix external repo info banner in ExtensionDetailsScreen
This commit is contained in:
@@ -11,7 +11,7 @@ class CreateSourceRepo(private val preferences: SourcePreferences) {
|
||||
return Result.InvalidUrl
|
||||
}
|
||||
|
||||
preferences.extensionRepos() += name.substringBeforeLast("/index.min.json")
|
||||
preferences.extensionRepos() += name.removeSuffix("/index.min.json")
|
||||
|
||||
return Result.Success
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user