mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
Extrakeys: fix rebase error
This commit is contained in:
committed by
Fredrik Fornwall
parent
b3eabd9bad
commit
7187ed6950
@@ -174,15 +174,15 @@ public final class ExtraKeysView extends GridLayout {
|
||||
altButton = controlButton = fnButton = null;
|
||||
removeAllViews();
|
||||
|
||||
final int rows = buttons.length;
|
||||
int mx = 0;
|
||||
for (int row = 0; row < rows; row++) {
|
||||
if(buttons[row].length > mx) mx = buttons[row].length;
|
||||
}
|
||||
final int rows = buttons.length;
|
||||
final int cols = mx;
|
||||
|
||||
setRowCount(rows);
|
||||
setColumnCount(cols[0]);
|
||||
setColumnCount(cols);
|
||||
|
||||
for (int row = 0; row < rows; row++) {
|
||||
for (int col = 0; col < cols; col++) {
|
||||
|
Reference in New Issue
Block a user