mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-06-05 21:59:19 +02:00
Remove needless ArrayLists and Arrays.toList
calls
This commit is contained in:
@ -405,7 +405,7 @@ class MainActivity : ComponentActivity() {
|
||||
val createNewContact = getBrightDisplayShortcut(appIconColor)
|
||||
|
||||
try {
|
||||
shortcutManager.dynamicShortcuts = Arrays.asList(createNewContact)
|
||||
shortcutManager.dynamicShortcuts = listOf(createNewContact)
|
||||
preferences.lastHandledShortcutColor = appIconColor
|
||||
} catch (ignored: Exception) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user