mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 01:47:24 +00:00
Fixed some shortcut bugs
This commit is contained in:
parent
53f4d792e9
commit
acd3543753
2 changed files with 5 additions and 5 deletions
|
|
@ -213,7 +213,7 @@ class MainActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferenceCh
|
|||
|
||||
val savedView = sharedPreferenceManager.getShortcut(textView)?.toMutableList()
|
||||
|
||||
if (savedView != null && savedView.size < 4) {
|
||||
if (savedView != null && savedView.size > 2 && savedView.size < 4) {
|
||||
savedView.add(3, "false")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue