mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-02-16 19:40:41 +01:00
show errors at long toasts
This commit is contained in:
parent
f6176f0d85
commit
a766abf248
@ -240,7 +240,7 @@ class WidgetsFragment(context: Context, attributeSet: AttributeSet) : MyFragment
|
||||
|
||||
override fun onWidgetLongPressed(appWidget: AppWidget) {
|
||||
if (appWidget.heightCells > context.config.homeRowCount - 1 || appWidget.widthCells > context.config.homeColumnCount) {
|
||||
context.toast(context.getString(R.string.widget_too_big))
|
||||
context.showErrorToast(context.getString(R.string.widget_too_big))
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user