mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-29 17:51:52 +00:00
Integrate DynamicLanguage with DeviceListFragment
Fixes #4752 Closes #4793
This commit is contained in:
committed by
Moxie Marlinspike
parent
03faff443c
commit
43aef3ecb0
@@ -55,6 +55,7 @@ public class DeviceActivity extends PassphraseRequiredActionBarActivity
|
||||
@Override
|
||||
public void onCreate(Bundle bundle, @NonNull MasterSecret masterSecret) {
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
getSupportActionBar().setTitle(R.string.AndroidManifest_manage_linked_devices);
|
||||
this.deviceAddFragment = new DeviceAddFragment();
|
||||
this.deviceListFragment = new DeviceListFragment();
|
||||
this.deviceLinkFragment = new DeviceLinkFragment();
|
||||
@@ -62,7 +63,7 @@ public class DeviceActivity extends PassphraseRequiredActionBarActivity
|
||||
this.deviceListFragment.setAddDeviceButtonListener(this);
|
||||
this.deviceAddFragment.setScanListener(this);
|
||||
|
||||
initFragment(android.R.id.content, deviceListFragment, masterSecret);
|
||||
initFragment(android.R.id.content, deviceListFragment, masterSecret, dynamicLanguage.getCurrentLocale());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user