mirror of
https://github.com/vernu/textbee.git
synced 2026-05-18 21:35:12 -04:00
chore: update MainActivity.java
occured -> occurred
This commit is contained in:
committed by
GitHub
parent
216bffcb28
commit
6136034774
@@ -134,7 +134,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Call<RegisterDeviceResponseDTO> call, Throwable t) {
|
||||
Snackbar.make(view, "An error occured :(", Snackbar.LENGTH_LONG).show();
|
||||
Snackbar.make(view, "An error occurred :(", Snackbar.LENGTH_LONG).show();
|
||||
Log.e(TAG, "API_ERROR "+ t.getMessage());
|
||||
Log.e(TAG, "API_ERROR "+ t.getLocalizedMessage());
|
||||
compoundButton.setEnabled(true);
|
||||
@@ -268,7 +268,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
}
|
||||
@Override
|
||||
public void onFailure(Call<RegisterDeviceResponseDTO> call, Throwable t) {
|
||||
Snackbar.make(view, "An error occured :(", Snackbar.LENGTH_LONG).show();
|
||||
Snackbar.make(view, "An error occurred :(", Snackbar.LENGTH_LONG).show();
|
||||
Log.e(TAG, "API_ERROR "+ t.getMessage());
|
||||
Log.e(TAG, "API_ERROR "+ t.getLocalizedMessage());
|
||||
registerDeviceBtn.setEnabled(true);
|
||||
@@ -304,4 +304,4 @@ public class MainActivity extends AppCompatActivity {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user