Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()/isTablet()
This commit is contained in:
@@ -33,7 +33,7 @@ function show_button(Friendica\App $a, &$b) {
|
||||
return;
|
||||
|
||||
// Disable for mobile because most mobiles have a smiley key for ther own
|
||||
if ($a->is_mobile || $a->is_tablet)
|
||||
if (DI::mode()->isMobile() || DI::mode()->isMobile())
|
||||
return;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user