mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-08 18:11:10 +01:00
Make it possible to reload settings at runtime
This commit is contained in:
parent
961e06379b
commit
86e2945069
1 changed files with 1 additions and 0 deletions
|
|
@ -132,6 +132,7 @@ public final class TermuxActivity extends Activity implements ServiceConnection
|
||||||
String whatToReload = intent.getStringExtra(RELOAD_STYLE_ACTION);
|
String whatToReload = intent.getStringExtra(RELOAD_STYLE_ACTION);
|
||||||
if (whatToReload == null || "colors".equals(whatToReload)) mTerminalView.checkForColors();
|
if (whatToReload == null || "colors".equals(whatToReload)) mTerminalView.checkForColors();
|
||||||
if (whatToReload == null || "font".equals(whatToReload)) mTerminalView.checkForTypeface();
|
if (whatToReload == null || "font".equals(whatToReload)) mTerminalView.checkForTypeface();
|
||||||
|
if (whatToReload == null || "settings".equals(whatToReload)) mSettings.reloadFromProperties(TermuxActivity.this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue