From 1b964f6e349aace1483306a9f0edd0fd568e096b Mon Sep 17 00:00:00 2001 From: Marco Cipriani Date: Wed, 10 Mar 2021 12:53:44 +0100 Subject: [PATCH] Update --- .../marcocipriani01/telescopetouch/activities/MainActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/github/marcocipriani01/telescopetouch/activities/MainActivity.java b/app/src/main/java/io/github/marcocipriani01/telescopetouch/activities/MainActivity.java index 849d0d58b..5e242dfe7 100644 --- a/app/src/main/java/io/github/marcocipriani01/telescopetouch/activities/MainActivity.java +++ b/app/src/main/java/io/github/marcocipriani01/telescopetouch/activities/MainActivity.java @@ -121,6 +121,7 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + ProUtils.update(this); preferences = PreferenceManager.getDefaultSharedPreferences(this); darkerModeManager = new DarkerModeManager(this, this, preferences); darkerMode = darkerModeManager.getPref(); @@ -166,6 +167,7 @@ private void intentAndFragment(Intent intent) { @Override protected void onStart() { super.onStart(); + ProUtils.update(this); connectionManager.addManagerListener(this); ActivityManager manager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); for (ActivityManager.RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) {