Changed: Automatically use default properties file and client for TermuxSharedProperties.getTermuxInternalPropertyValue()

This commit is contained in:
agnostic-apollo
2021-10-22 00:32:38 +05:00
parent 5d64f1225c
commit 28ecb64992
2 changed files with 5 additions and 6 deletions

View File

@@ -112,8 +112,8 @@ public class TermuxAppSharedProperties extends TermuxSharedProperties {
* Load the {@link TermuxPropertyConstants#KEY_TERMINAL_TRANSCRIPT_ROWS} value from termux properties file on disk.
*/
public static int getTerminalTranscriptRows(Context context) {
return (int) TermuxSharedProperties.getInternalPropertyValue(context, TermuxPropertyConstants.getTermuxPropertiesFile(),
TermuxPropertyConstants.KEY_TERMINAL_TRANSCRIPT_ROWS, new SharedPropertiesParserClient());
return (int) TermuxSharedProperties.getTermuxInternalPropertyValue(context,
TermuxPropertyConstants.KEY_TERMINAL_TRANSCRIPT_ROWS);
}
}