1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 05:16:51 +01:00

Fix compilation

This commit is contained in:
cpfeiffer 2016-12-15 20:59:55 +01:00
parent d12103e95d
commit 321c288e27

View File

@ -103,7 +103,7 @@ public class ControlCenterv2 extends AppCompatActivity
navigationView.setNavigationItemSelectedListener(this);
//end of material design boilerplate
deviceManager = GBApplication.getDeviceManager();
deviceManager = ((GBApplication) getApplication()).getDeviceManager();
deviceListView = (RecyclerView) findViewById(R.id.deviceListView);
deviceListView.setHasFixedSize(true);