- Added to Settings possibility to choose which audio modules are loaded.

Codecs provided by loaded modules are available for accounts to use.
This commit is contained in:
Juha Heinanen
2019-10-22 17:33:46 +03:00
parent cf3e02c46d
commit 53f751454d
9 changed files with 178 additions and 69 deletions
@@ -38,10 +38,10 @@ object Utils {
return result
}
fun removeLinesStartingWithName(string: String, name: String): String {
fun removeLinesStartingWithString(lines: String, string: String): String {
var result = ""
for (line in string.split("\n"))
if (!line.startsWith(name) && (line.length > 0)) result += line + "\n"
for (line in lines.split("\n"))
if (!line.startsWith(string) && (line.length > 0)) result += line + "\n"
return result
}