mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-16 15:02:54 +00:00
Update dependencies
And make the isRunning function in AegisApplication a little easier to read
This commit is contained in:
parent
aaf7dbdb85
commit
4cd87b0452
6 changed files with 23 additions and 23 deletions
|
@ -38,11 +38,11 @@ public class AegisApplication extends Application {
|
|||
|
||||
public boolean isRunning() {
|
||||
// return false the first time this is called
|
||||
if (_running) {
|
||||
return true;
|
||||
if (!_running) {
|
||||
_running = true;
|
||||
return false;
|
||||
}
|
||||
_running = true;
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.N_MR1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue