mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-01-10 22:24:52 +01:00
move the widget RESULT_CANCELED a bit up
This commit is contained in:
parent
40316dad11
commit
85b790ff49
@ -25,6 +25,7 @@ public class MyWidgetConfigure extends AppCompatActivity implements SeekBar.OnSe
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setResult(RESULT_CANCELED);
|
||||
setContentView(R.layout.widget_config);
|
||||
ButterKnife.bind(this);
|
||||
|
||||
@ -39,8 +40,6 @@ public class MyWidgetConfigure extends AppCompatActivity implements SeekBar.OnSe
|
||||
|
||||
if (widgetId == AppWidgetManager.INVALID_APPWIDGET_ID)
|
||||
finish();
|
||||
|
||||
setResult(RESULT_CANCELED);
|
||||
}
|
||||
|
||||
@OnClick(R.id.config_save)
|
||||
|
Loading…
Reference in New Issue
Block a user