mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Move LauncherApplication's state and code to LauncherAppState.
This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
This commit is contained in:
@@ -82,7 +82,7 @@ public class DeleteDropTarget extends ButtonDropTarget {
|
||||
// Remove the text in the Phone UI in landscape
|
||||
int orientation = getResources().getConfiguration().orientation;
|
||||
if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
||||
if (!LauncherApplication.isScreenLarge()) {
|
||||
if (!LauncherAppState.isScreenLarge()) {
|
||||
setText("");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user