musikr: reformat
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
package org.oxycblt.musikr.tag.interpret
|
||||
|
||||
import android.icu.text.Transliterator
|
||||
@@ -104,8 +104,9 @@ private data class IntelligentKnownName(override val raw: String, override val s
|
||||
}
|
||||
|
||||
// Transliterate to latin if available
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q && Transliterator.getAvailableIDs()
|
||||
.toList().contains("Any-Latin")
|
||||
if (
|
||||
Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q &&
|
||||
Transliterator.getAvailableIDs().toList().contains("Any-Latin")
|
||||
) {
|
||||
stripped = Transliterator.getInstance("Any-Latin;").transliterate(stripped)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user