- Refactored the function name from calculateMcScale to getMcScale since we changed how it behaves

- Optimized auto scale operations
- Removed some junk I've put there myself
- Getting a value will load the setting list if not done already.
This commit is contained in:
SerpentSpirale 2021-02-03 21:52:44 +01:00
parent 7b52d539e2
commit 4fcfbd2ab8
3 changed files with 16 additions and 14 deletions

View file

@ -111,6 +111,7 @@ public class MainActivity extends BaseMainActivity {
public void onEvent(int i, @Nullable String s) {
//FIXME Make sure the multithreading nature of this event doesn't cause any problems ?
MCOptionUtils.load();
getMcScale();
}
};
fileObserver.startWatching();