mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Fix okay buttons in alert dialogs (#2206)
This commit is contained in:
parent
96d540372a
commit
493fa6b721
3 changed files with 3 additions and 3 deletions
|
|
@ -379,7 +379,7 @@ public class AchievementsActivity extends NavigationBaseActivity {
|
||||||
.setTitle(title)
|
.setTitle(title)
|
||||||
.setMessage(message)
|
.setMessage(message)
|
||||||
.setCancelable(true)
|
.setCancelable(true)
|
||||||
.setNeutralButton(android.R.string.ok, (dialog, id) -> dialog.cancel())
|
.setPositiveButton(android.R.string.ok, (dialog, id) -> dialog.cancel())
|
||||||
.create()
|
.create()
|
||||||
.show();
|
.show();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ public class MainActivity extends AuthenticatedActivity implements FragmentManag
|
||||||
.setTitle(R.string.title_activity_nearby)
|
.setTitle(R.string.title_activity_nearby)
|
||||||
.setMessage(R.string.showcase_view_whole_nearby_activity)
|
.setMessage(R.string.showcase_view_whole_nearby_activity)
|
||||||
.setCancelable(true)
|
.setCancelable(true)
|
||||||
.setNeutralButton(android.R.string.ok, (dialog, id) -> dialog.cancel())
|
.setPositiveButton(android.R.string.ok, (dialog, id) -> dialog.cancel())
|
||||||
.create()
|
.create()
|
||||||
.show()
|
.show()
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -599,7 +599,7 @@ public class UploadActivity extends AuthenticatedActivity implements UploadView,
|
||||||
.setTitle(titleStringID)
|
.setTitle(titleStringID)
|
||||||
.setMessage(getString(messageStringId, (Object[]) formatArgs))
|
.setMessage(getString(messageStringId, (Object[]) formatArgs))
|
||||||
.setCancelable(true)
|
.setCancelable(true)
|
||||||
.setNeutralButton(android.R.string.ok, (dialog, id) -> dialog.cancel())
|
.setPositiveButton(android.R.string.ok, (dialog, id) -> dialog.cancel())
|
||||||
.create()
|
.create()
|
||||||
.show();
|
.show();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue