mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
do not ask for synchronization login twice
This commit is contained in:
parent
b3bcb2aab0
commit
13110b6e98
1 changed files with 1 additions and 2 deletions
|
@ -168,9 +168,8 @@ public class PreferenceActivity extends ZLPreferenceActivity {
|
||||||
super.onClick();
|
super.onClick();
|
||||||
syncPreferences.run();
|
syncPreferences.run();
|
||||||
|
|
||||||
SyncUtil.logout(myNetworkContext);
|
|
||||||
|
|
||||||
if (!isChecked()) {
|
if (!isChecked()) {
|
||||||
|
SyncUtil.logout(myNetworkContext);
|
||||||
syncOptions.Enabled.setValue(false);
|
syncOptions.Enabled.setValue(false);
|
||||||
enableSynchronisation();
|
enableSynchronisation();
|
||||||
syncPreferences.run();
|
syncPreferences.run();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue